Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everyone, I am trying create an acomulative sum by date but recently I found a issue using this:
I was using the same statement with countax like this:
This is the graph of "DISTINCTCOUNT(Gestion[GesTot])"
and this is "CALCULATE(DISTINCTCOUNT(Gestion[GesTot]),FILTER(ALL(Gestion),Gestion[FecGestion]<=max(Gestion[FecGestion])))"
The previous graph should have the accumulated sum by date and not be linear.
Is "Gestion[FecGestion]" your Date field in your calendar table, because that's what you need for a cumulative sum. Here's a great explanation of the pattern: http://www.daxpatterns.com/cumulative-total/
Also, you say you want to do a sum, but you are using DISTINCTCOUNT - is that intentional?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |