Forum Discussion
hyugo_v
5 years agoHelper I
Cumulative sum not working correctly
Hello everyone, i'm trying to get a cumulative sum here but it looks like it doesn't consider the parameters i put in the dax formula. I've tried the same formula in a dataset i made up myself an...
- 5 years ago
I found the solution to my problem, i took the wrong parameter in the ALL fonction.
Here is the correct one :
Cumulative = CALCULATE(SUM('6_RIE_couloir'[Sum E1+E2]),FILTER(ALL('6_RIE_couloir'[Heure]),'6_RIE_couloir'[Heure]<=MAX('6_RIE_couloir'[Heure])))Regards,
jdbuchanan71
5 years agoSuper User
If you clear the filter on Date then filter Heure to just 00:00:00 and 00:01:00, what shows up in the [Sum E1 + E2] column?
hyugo_v
5 years agoHelper I
Hello,
i forgot to put some context, the dataset in recording the flux of people through the day, generally people tend to come at 11/11:30 AM so the E1+E2 column have bigger value at that moment, if i filter between 00:00:00 and 01:00:00 that's what i get.
Edit : If i remove the Date filter, the chronology is broken.