Forum Discussion

tbucki1's avatar
tbucki1
Advocate I
9 years ago
Solved

KPI card displays incorrect value

I just created a KPI card that shows Actuals Vs Budget for a given time period... Both Actuals and Budget are DAX equations. I bring Actuals into the "indicatior" section, Budget to "Target Section"...
  • v-qiuyu-msft's avatar
    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