https://bugs.kde.org/show_bug.cgi?id=479887
--- Comment #7 from Stephane MANKOWSKI <[email protected]> --- I'm trying to do the fix and I have many difficulties to find the good algorithm. Indeed, if dates = "Last 3 months" and columns="Month" then the average=sum/3 (even if 4 columns are displayed). Easy ! But what to do in those cases: - dates = "Last 6 weeks" and columns="Month" - dates = "Last 3 month" and columns="Year" - dates = "Personalized period" and columns="Month" My proposal could be this one: - If columns period is the same for dates (example: month in both), then the average is computed based on the real number of month instead of the number of cell. "Average (on month)" is displayed in the header. - Else the average is compute as today. Problem: If dates = "Last 1 year" and columns="Month" then Average will be compute as today !!! Do you have an idea covering all cases correctly ? -- You are receiving this mail because: You are watching all bug changes.
