Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
I am trying to write a dax to create a cummlative total but is isnt working - can anyone help please?
I have the following table - in the cumlative column I want it to total up as I have manually inserted below.
The total Headcount measure is as follows
Report Month | Total Headcount | Cumlative Total |
01 April 2023 | 1893 | 1893 |
01 May 2023 | 1913 | 3806 |
01 June 2023 | 1911 | 5717 |
01 July 2023 | 1897 | 7614 |
I have tried this
Report Month | Total Headcount | Running total |
01/04/2023 | 1893 | 18317 |
01/05/2023 | 1913 | 20230 |
01/06/2023 | 1911 | 22141 |
01/07/2023 | 1897 | 24038 |
01/08/2023 | 1866 | 25904 |
01/09/2023 | 1862 | 27766 |
01/10/2023 | 1831 | 29597 |
Thank you all for you help - I managed to get it working by using the following:-
Hi @Anonymous ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, I am not sure how your datamodel looks like, but please try something like below whether it suits your requirement.
Running total =
SUMX (
ADDCOLUMNS (
SUMMARIZE (
FILTER (
ALLSELECTED ( 'Calendar' ),
'Calendar'[Report Month] <= MAX ( 'Calendar'[Report Month] )
),
'Calendar'[Report Month]
),
"@result", [Total Headcount]
),
[@result]
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
21 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |