Forum Discussion
jake223
Helper I
6 years agoCumulative/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
Super User
6 years agoCalculation of turnover
jake223
Helper I
6 years ago- tex6286 years ago
Community 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 ago
Helper 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 ago
Community 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