Forum Discussion
Aree
Resolver I
8 years agoCumulative with a slicer
I working on doing a cumulative line which is basic using the standard appraoch. Forecast Cumulative =
CALCULATE(
SUM('Financial'[Forecast]),
FILTER(
ALL('Calenda...
- 8 years ago
Found my solution after some research and testing.
Forecast Cumulative = CALCULATE( SUM('Financial'[Forecast]), FILTER( ALLSELECTED('Calendar'), 'Calendar'[Date] <= MAX('Calendar'[Date]) ) )ALL was causing a filter context outside of my slicer but ALLSELECTED worked like a charm.
Aree
Resolver I
8 years agoFound my solution after some research and testing.
Forecast Cumulative =
CALCULATE(
SUM('Financial'[Forecast]),
FILTER(
ALLSELECTED('Calendar'), 'Calendar'[Date] <= MAX('Calendar'[Date]) )
)ALL was causing a filter context outside of my slicer but ALLSELECTED worked like a charm.