The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi, I am trying to add a index column to a calculated table, the index is just a count a of rows, I don't want to sort. I just want to star with 1 until the last row of my report.
Thanks
Hi, I can't do that becuase is a calculated table. It is not possible to use Power Query, that is why I need it in DAX
Fairly recently, a DAX function called ROWNUMBER was added to Power BI.
https://learn.microsoft.com/en-us/dax/rownumber-function-dax
I think that should do the trick.
Hi, @Aydeedglz
go to power query editor>choose your table in which you want to add index>go to add column section>click on index column>close & apply
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |