Forum Discussion

jake223's avatar
jake223
Helper I
6 years ago

Cumulative/Running Total

Hello,

 

I'm having an issue with creating a Cumulative/Running Total. Currently I have the following:

 

  • StartFTE_TO = sum('92_FOM_FY20'[Current FTE for TO])
  • EndFTE_TO = SUM('92_FOM_FY20'[Current FTE for TO]) - sum('95_Terms_FY20'[Current FTE for TO]) + sum('98_Hires_FY20'[Current FTE for TO]) + sum('97_TransfersIn_FY20'[Current FTE for TO]) - sum('97_TransfersOut_FY20'[Current FTE for TO]) + sum('96_PromotionsIn_FY20'[Current FTE for TO]) - sum('96_PromotionsOut_FY20'[Current FTE for TO]) - sum('92_FOM_FY20'[Inactive Seasonal])
  • TermsFTE_TO = sum('95_Terms_FY20'[Current FTE for TO])
  • Turnover = ([TermsFTE_TO] / (([StartFTE_TO]+[EndFTE_TO]) / 2))
  • Cumulative = CALCULATE([Turnover], FILTER(ALLSELECTED('7_Date'), '7_Date'[Date] <= MAX('7_Date'[Date])))

Below I'm using "FiscalMonthLong" as a Filter in my report from a Date Table (Marked as Date Table). The Turnover column is calculating correctly but as you can see my Cumulative column is not adding correctly. Also the "Total" row does not seem to calculate correctly unless I change this to a waterfall chart which displays the correct total. 

 

 

 

 

 

23 Replies