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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello good day, I would like to create a calculated field, that gives me the number of columns, and works as index, since I know that you could in power query, but I occupy that it is in specific in dax or power bi, I do not know if I explain, but basically it is an index, that at the time of adding a new row I count consecutively, and when you delete the row it is deleted consecutively, that is, as a count rows, which is the process automatically
Thank you.
Solved! Go to Solution.
It is doable via DAX, but, please do it in Power Query or Excel.
In PQ, you just need an index column,
In Excel, you just need to write =ROW(),
That's it.
In DAX, you need this,
It is doable via DAX, but, please do it in Power Query or Excel.
In PQ, you just need an index column,
In Excel, you just need to write =ROW(),
That's it.
In DAX, you need this,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 126 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |