Forum Discussion
Cumulative Sum by User not working properly
- 2 years ago
Anonymous Try Better Running Total. Better Running Total - Microsoft Fabric Community
- Anonymous2 years ago
Hi Anonymous, thank you so much for taking the time to test the issue on your own! I believe that there are some issues when I take into acconts a lot of users or some weird users I have in my database.
it's good to know that I got the right way though!
thank you so much!
Anonymous Try Better Running Total. Better Running Total - Microsoft Fabric Community
- Anonymous2 years agoNot applicable
hi Greg_Deckler, thank you for replying!
I've tried your solution and it looks like it's working properly.
thank you so much!
- Anonymous2 years agoNot applicable
hey Greg_Deckler, I tried the running total, but it looks like it doesn't cumulate sum properly.
here is the code I used to get the following chart:
RunningTotalSavings2bis =CALCULATE(DIVIDE(SUM(monthly_user_metrics[savings]), DISTINCTCOUNT(monthly_user_metrics[external_payment_id]),0),FILTER(ALL('monthly_user_metrics'[mss]),'monthly_user_metrics'[mss] <= MAX('monthly_user_metrics'[mss])))
do you have an idea why?
thank you so much!
Jacques