Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
| Account ID | Invoice Date | Invoice Price | Running Total |
| 1 | 10/13/2016 | 50 | 50 |
| 1 | 12/10/2017 | 279 | 329 |
| 1 | 2/23/2018 | 1380 | 1709 |
| 2 | 4/15/2018 | 325 | 325 |
| 2 | 3/4/2019 | 787 | 1112 |
| 3 | 6/19/2018 | 2 | 2 |
| 4 | 9/10/2017 | 2356 | 2356 |
| 4 | 7/30/2018 | 35 | 2391 |
| 4 | 9/9/2018 | 254 | 2645 |
| 4 | 5/7/2019 | 756 | 3401 |
| 5 | 3/12/2017 | 37 | 37 |
| 5 | 8/26/2018 | 876 | 913 |
Solved! Go to Solution.
Hi @mansi64011
please check out this solution: https://www.thebiccountant.com/2018/09/30/memory-efficient-clustered-running-total-in-power-bi/
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @mansi64011
please check out this solution: https://www.thebiccountant.com/2018/09/30/memory-efficient-clustered-running-total-in-power-bi/
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |