Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I'm trying to create a calculated column that calculates the cumulative sum. I created one in a DAX measure and its working fine:
Solved! Go to Solution.
Hi, @Aymane
You are using a calculated column instead of measure column to display the result, so the final result is aggregated without recomputing.
You just need to change the summarize type of calculated column 'Cumulative Count' from 'Sum' to 'Maximum'/'Minimum'/'Average'.
Best Regards,
Community Support Team _ Eason
Hi @amitchandak,
Thanks for your response.
I have tried your solution but it still doesn't give the correct output as you can see below:
Hi, @Aymane
You are using a calculated column instead of measure column to display the result, so the final result is aggregated without recomputing.
You just need to change the summarize type of calculated column 'Cumulative Count' from 'Sum' to 'Maximum'/'Minimum'/'Average'.
Best Regards,
Community Support Team _ Eason
@Aymane , a new column
CumulativeCount =
CALCULATE(
SUM(Fact_CRM_CT[Count]),
FILTER((Fact_CRM_CT),Fact_CRM_CT[DateKey] <= earlier(Fact_CRM_CT[DateKey]) ))
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
94 | |
89 | |
35 | |
32 |
User | Count |
---|---|
153 | |
101 | |
82 | |
63 | |
52 |