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 What happens if you base your running total on Fiscal Week instead of the Date?