Forum Discussion
Cumulative sum with VALUES filter issue?
- Anonymous9 years ago
Hi Chamara,
Please use the following formula to create Cumulative Sum Filtered measure and check if you get expected result.
Cumulative Sum Filtered = CALCULATE (
SUM ( Data1[Revenue] ),
FILTER(ALLEXCEPT(Data1,Data1[Classification]), Data1[TargetDate] <= MAX ( Data1[TargetDate])
)
)
Thanks,
Lydia Zhang
Hi Chamara,
Please use the following formula to create Cumulative Sum Filtered measure and check if you get expected result.
Cumulative Sum Filtered = CALCULATE (
SUM ( Data1[Revenue] ),
FILTER(ALLEXCEPT(Data1,Data1[Classification]), Data1[TargetDate] <= MAX ( Data1[TargetDate])
)
)
Thanks,
Lydia Zhang
Hey, I am new to power BI and I have some query related to the same topic. Can I put cumulative sum based on dates in a number card and then filter it for specific dates using a date slicer. I am currently using Datesmtd dax as i only want to calculate cumulative sum month by month.