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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
¡Hi Everyone!
Pls, I need to know how I can add an index by DAX, so that I can have a cumulative sum like the following image:
I need the index for DAX, I don't need it for Power Query.
Is there a solution for an accumulated balance?
Regards
Rodrigo Puente
Solved! Go to Solution.
To add an index column using DAX in Power BI, you can use several different functions depending on your specific needs. Here are a few common methods:
Pls go through this - https://learn.microsoft.com/en-us/dax/index-function-dax
To add an index column using DAX in Power BI, you can use several different functions depending on your specific needs. Here are a few common methods:
Pls go through this - https://learn.microsoft.com/en-us/dax/index-function-dax
Hi,
If you have a Date column in your Fact table, then the problem is easy to solve. If not, then in what order should the data be arranged to calculate the cumulative total? Should it be in ascending order of Cleints?
you can try this to create an index
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 48 | |
| 38 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 79 | |
| 37 | |
| 27 | |
| 25 |