This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
| 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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |