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
Hey, I Searched for a solution all over the forum, there are some similar but i did not figure out how to do it correctly.
What I'm trying to do is to add an index column, which tells me the row number for the CustIt. I've already sorted the data by date (Descending), and now i'm trying to add the column.
I've marked in red what i meant.
Thanks for your help!
Solved! Go to Solution.
Table.AddIndexColumn([Whatever You Named the Column in the Prev Step], "Index", 1, 1)
Table.AddIndexColumn([Whatever You Named the Column in the Prev Step], "Index", 1, 1)
@Anonymous Thank you!
this article gives an example how to do it:
https://www.excelguru.ca/blog/2018/06/27/number-rows-by-group-using-power-query/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |