Forum Discussion
H_Jones
8 years agoHelper I
cumulative sum issues when filtering
I am having some issues with my cumulative sum. I initially thought it was working fine, until I added a date slicer onto the page and now when that is used the sum goes bonkers, I dont even understa...
MFelix
8 years agoSuper User
Hi H_Jones,
When using the ALL function on your measure what happens is that the calculations are made based on the total table values and overlaps the filter you have in your visuals so the values it gets return is based on the full table and not on the context.
If you want to add a slicer try to change your formula to:
Cumulative Pledges =
CALCULATE (
[Pledges],
FILTER (
ALLSELECTED ( 'Attrition Data'[Attrition Flag] ),
'Attrition Data'[Attrition Flag] <= MAX ( 'Attrition Data'[Attrition Flag] )
)
)
Regards,
MFelix
H_Jones
8 years agoHelper I
It hasnt changed the values at all unfortunately.
- MFelix8 years agoSuper User
- H_Jones8 years agoHelper I
Here you go:
Hopefully this works?
H
- Ashish_Mathur8 years agoSuper User
Hi,
I do not see a download button there.