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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |