March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
You can edit the table by "Edit Query" Option. Find the Add Index Column in the "Add Column" Tab. You can see now the new column is added at the last. Customize the column to rename it as "SNO" or "ROW NUM" or anything preferred.
Note: You can add from 0 or from 1.
You have a Row Number or Serial Number Column Ready.
Solved! Go to Solution.
You can also add index column which starts from 1 directly as below.
Best Regards,
Herbert
I think there should be an easier solution -- like a check box that says add the line number to the visual.
That is for power bi modeling,not for live query. I am using live query and using database for tabular model.now on that model i have to create that serial no.
You can also add index column which starts from 1 directly as below.
Best Regards,
Herbert
Hi all, I have a calculated table for 365 dates starting April 01 20xx (using the Calendar DAX function). Now I need to add a column that simply puts a serial number for each row. The Edit Query only works for imported data...I am a newbie, obviously.
Any help will be very much appreciated.
Perfect! Exactly what I needed and it only takes a single click. Love it!
I came across this post and it is what i need. However when I create the index column .. when I bring it into a table in BI, the number become a series of other numbers and not my 1, 2, 3, index that was created. I have seen several places where they show you how to create the index column, but How do i use it in my BI Table????
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |