Forum Discussion
Anonymous
5 years agoNot applicable
Running Total Measure Works By Day but Not by Week
Hello, I am having a problem with displaying the running total of a column in a Line and Stacked Column Chart visual. This visual is to show forecasted and actual shipping numbers. The X axis h...
- Anonymous5 years ago
Edited:
[The Right Measure] = var MaxFiscalDate = MAX( 'Fiscal Calendar'[Calendar Date] ) var Result = CALCULATE( [Shipment Forecast], KEEPFILTERS( 'Fiscal Calendar'[Calendar Date] <= MaxFiscalDate ), ALLSELECTED( 'Fiscal Calendar' ) ) return ResultThere would be too much to explain about how ALLSELECTED works...
Greg_Deckler
Community Champion
5 years agoAnonymous Not entirely certain but perhaps you need ALL not ALLSELECTED. Very hard to decipher what may be going on without something to play with.
Anonymous
5 years agoNot applicable
Greg_Deckler This works as a running total, but I need this visual to not count anything before the selected period. So in filters from my example, nothing before Fiscal Q2 of 2021.