Forum Discussion
KPI card displays incorrect value
- 9 years ago
Hi tbucki1,
To display cumulative totals for Actual and Budget in KPI visual based on checked month from the slicer, you can create two measures to return cumulative total:
RunningAcrual = CALCULATE(SUM(Table2[Actual]),FILTER(ALL(Table2[Month]),'Table2'[Month]<=MAX('Table2'[Month])))
RunningBudget = CALCULATE(SUM(Table2[Budget]),FILTER(ALL(Table2[Month]),'Table2'[Month]<=MAX('Table2'[Month])))
Best Regards,
Qiuyun Yu
Hi tbucki1,
To display cumulative totals for Actual and Budget in KPI visual based on checked month from the slicer, you can create two measures to return cumulative total:
RunningAcrual = CALCULATE(SUM(Table2[Actual]),FILTER(ALL(Table2[Month]),'Table2'[Month]<=MAX('Table2'[Month])))
RunningBudget = CALCULATE(SUM(Table2[Budget]),FILTER(ALL(Table2[Month]),'Table2'[Month]<=MAX('Table2'[Month])))
Best Regards,
Qiuyun Yu
Hi @Qiuyun Yu,
I am facing exactly the same problem, but the solution you propose does work for the KPI but then not for the trend value (the line), as it give cummulative evolution view.
When you have daily information, there's really no point in looking at the last day, it would be much better to analyze for example last month (or YTD), and in the trend axis maintain the daily evolution.