Forum Discussion
jake223
6 years agoHelper I
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'[Curr...
amitchandak
6 years agoSuper User
Calculation of turnover
jake223
6 years agoHelper I
- tex6286 years agoCommunity Champion
Hello jake223 ,
Try changing from:
Cumulative = CALCULATE([Turnover], FILTER(ALLSELECTED('7_Date'), '7_Date'[Date] <= MAX('7_Date'[Date])))to
Cumulative =
VAR maxDate = MAX('7_Date'[Date])
Return
CALCULATE([Turnover], ALL('7_Date'), '7_Date'[Date] <= maxDate))
Br,
J- jake2236 years agoHelper I
I tried using and looks like that same result
Cumulative =VAR maxDate = MAX('7_Date'[Date])RETURNCALCULATE([Turnover], ALL('7_Date'), '7_Date'[Date] <= maxDate)- tex6286 years agoCommunity Champion
Just to make sure, you are using a slicer on year here together with the table right?
What do you get if you just add:Cumulative =VAR maxDate = MAX('7_Date'[Date])RETURNmaxDate