Forum Discussion
Ragnarock1982
7 years agoFrequent Visitor
Rolling monthly total
Morning all, I'm having an 'issue' with the rolling monthly total on my report. Basically, I have a date slider and a Line & Stacked column chart. When I select dates from the slider the char...
- 7 years ago
hi, Ragnarock1982
You could use this measure as below:
New AA running total in Month = CALCULATE( SUM('Balances - Balance Sheet'[AA]), FILTER( ALLSELECTED('Calendar'), ISONORAFTER('Calendar'[MonthNo], MAX('Calendar'[MonthNo]), DESC) ) )or
AA running total in Date = CALCULATE( SUM('Balances - Balance Sheet'[AA]), FILTER( ALLSELECTED('Calendar'[Date]), ISONORAFTER('Calendar'[Date], MAX('Calendar'[Date]), DESC) ) )Result:
Best Regards,
Lin
v-lili6-msft
Community Support
7 years agohi, Ragnarock1982
You could use this measure as below:
New AA running total in Month =
CALCULATE(
SUM('Balances - Balance Sheet'[AA]),
FILTER(
ALLSELECTED('Calendar'),
ISONORAFTER('Calendar'[MonthNo], MAX('Calendar'[MonthNo]), DESC)
)
)
or
AA running total in Date =
CALCULATE(
SUM('Balances - Balance Sheet'[AA]),
FILTER(
ALLSELECTED('Calendar'[Date]),
ISONORAFTER('Calendar'[Date], MAX('Calendar'[Date]), DESC)
)
)
Result:
Best Regards,
Lin
Ragnarock1982
7 years agoFrequent Visitor