Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
DenisStyrt
Helper II
Helper II

Add row number to table power BI

Hi, I just want that in any table that I display in Power BI all the rows will have a serial number, By clicking any Slicer or anything else the numbers will show values from 1...... till the end of the table. The number should not be connected to anything, it's only a visual helper(like row numbers in Excel)

Num.jpg

 

Sounds to me like something basic, any Idea how?

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @DenisStyrt ,

 

Currently, you may add Index column in Query Editor, select on query, go to Add Column -> Index Column, choose option "From 1". In this way, there will be an index for the table, while this index column will be filtered by the slicer visual or interaction with other visuals, and it won't show values from 1...... till the end of the table automatically.

116.png

 

 

 

 

 

While your demand is a good idea, there is an idea about this issue, please vote it up, Add a row count to tables, and you can add your comments there to improve Power BI and make this feature coming sooner.

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi @DenisStyrt ,

 

Currently, you may add Index column in Query Editor, select on query, go to Add Column -> Index Column, choose option "From 1". In this way, there will be an index for the table, while this index column will be filtered by the slicer visual or interaction with other visuals, and it won't show values from 1...... till the end of the table automatically.

116.png

 

 

 

 

 

While your demand is a good idea, there is an idea about this issue, please vote it up, Add a row count to tables, and you can add your comments there to improve Power BI and make this feature coming sooner.

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@DenisStyrt , check

https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi

https://community.powerbi.com/t5/Desktop/Add-calculated-index-column-by-DAX/td-p/72448

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
vanessafvg
Super User
Super User

are you importing the data in? if so add an index column in power query

https://radacad.com/create-row-number-for-each-group-in-power-bi-using-power-query#:~:text=If%20you%....




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors