March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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]) ))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |