Forum Discussion
Nicho247
Helper III
6 years agoCumulative Total Help - Slicer sets starting date
Hello - Working on a basic running/cumulative total. I have it working but it is grabbing all dates in my table. I'd like it to compute starting from the date present in a slicer. I've poked aro...
Nicho247
Helper III
6 years agoHello Giotto - Thank you for your recommendation. Unfortunately this provides a bizarre reverse cumulative total. It does appear to be affected by the date sliders but not in the inteded fashion. Unsure if it is also counting from the data set or from the sliders. Visually the slider is taken into account.
v-gizhi-msft
Community Support
6 years agoHi,
Please try this:
Cumulative OnTime =
CALCULATE (
COUNTROWS ( WKO ),
FILTER ( WKO, WKO[CompletedDate] <= SELECTEDVALUE ( 'Calendar'[Date] ) )
)
Or this:
Cumulative OnTime =
CALCULATE (
COUNTROWS ( WKO ),
FILTER (
ALLSELECTED ( WKO ),
WKO[CompletedDate] <= SELECTEDVALUE ( 'Calendar'[Date] )
)
)
Best Regards,
Giotto
- Nicho2476 years ago
Helper III
Hello Giotto -
The first measure does create the running total, but it unaffected by the slicer data.
The second measure also creates the running total but removes the ability to use the legend, and is unaffected by the slicer data.
😞
Nick