Forum Discussion
Anonymous
4 years agoNot applicable
Running Total 4th Line
I have a table shown Below: I need to have a 4th line that takes a cumulative total over the months. So February shows the total for Jan and Feb, March Shows Jane Feb & March etc. I have...
- 4 years ago
Hi Anonymous ,
Please try the measure.
Measure = CALCULATE ( SUM ( 'Table'[Backlog] ) + SUM ( 'Table'[Closed] ) + SUM ( 'Table'[Open] ), DATESINPERIOD ( 'Calendar'[Date], MAX ( 'Calendar'[Date] ), -2, MONTH ) )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
4 years agoSuper User
Anonymous , usally we have this kind of measure for running total
Cumm = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
Cumm = CALCULATE(SUMX(Values('Date'[Month]), [Measure]) ,filter(allselected('Date'),'Date'[date] <=max('Date'[date])))