Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I am facing an issue with dax to calculate the running total on a running total measure.
Attaching my case.
First row is be my raw data.
Second row is running total of first row. This was achieved.
But the 3rd row should be running total of 2nd row. Im unable to get this.
| Jan | Feb | Mar | Aprl | May | Jun |
| 2 | 3 | 4 | 5 | 2 | 8 |
| 2 | 5 | 9 | 14 | 16 | 24 |
| 2 | 7 | 16 | 30 | 46 | 70 |
Please help me on this.
Thanks in advance,
Vishnu Priya
@Anonymous you should put the output based on the sample data, if you cannot do it, then not sure how you expect someone to help you.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k ,
Im sure about the desired output. And I have added the o/p snap for the raw data that I shared.
And I think, I have explained the logic like, how the data should populate .
Im again attaching the desired output.
Thanks in advance,
Vishnu
Hi, @Anonymous
This logic seems to be iteration, pbi is difficult to calculate iteration.
The sample you provided is inconsistent with the result you want. We can’t see what your original data contains and which ones you want to request.
If there is not much data, it is recommended that you directly add results to the source data. Using dax is complicated and unavailable.😊
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
@Anonymous not sure if the output you are showing is using the sample data, there is no January in the sample data?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k , That output I showed is just the format and the base calculations that should involve in that output.
Thanks,
Vishnu
@Anonymous based on the sample data what will be your output?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k ,
format of my data will be in the below format.
| Category | Date1 | Cnt |
| A | 23-09-2021 | 2 |
| A | 24-09-2021 | 3 |
| A | 14-09-2021 | 4 |
| A | 05-08-2021 | 4 |
| A | 06-07-2021 | 5 |
| A | 16-06-2021 | 7 |
| A | 14-05-2021 | 8 |
| B | 23-09-2021 | 2 |
| B | 24-09-2021 | 3 |
| B | 14-09-2021 | 4 |
| B | 05-08-2021 | 4 |
| B | 06-07-2021 | 5 |
| B | 16-06-2021 | 7 |
| B | 14-05-2021 | 8 |
Thanks,
Vishnu
@Anonymous what is the structure of your raw data? Solution depends on it. paste raw data in a table format.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 50 | |
| 45 |