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 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.