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...
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
Nicho247
Helper III
6 years agoHello 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