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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
LamSar
Helper III
Helper III

Column with the row number in a table visual

Good afternoon,

 

Is it possible to add a column with the row number in a table visual?

LamSar_0-1657717783506.png

I have this table in a table visual in Power BI. I want to add a column, with the row numbers.

The first row of data should always be 1, the second rown with data 2 and so on.

I already tried the ranckx function, but that doesn't suit my needs.

 

Any ideas?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@LamSar , no, I have logged an idea for that sometime back

Serial No in Visual Table
https://ideas.powerbi.com/ideas/idea/?ideaid=80612ec5-14a9-4929-a2ee-531943fa51d4

 

Rank is or cumulative count(Running total- Count)  are the only option

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

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Good afternoon

If all columns are from the same table, the following works:

Indice = CALCULATE(COUNTROWS(issues),FILTER(ALLSELECTED(issues),issues[id]<=MAX(issues[id])))
Issues = Tabla
Id = table field
Best regards
amitchandak
Super User
Super User

@LamSar , no, I have logged an idea for that sometime back

Serial No in Visual Table
https://ideas.powerbi.com/ideas/idea/?ideaid=80612ec5-14a9-4929-a2ee-531943fa51d4

 

Rank is or cumulative count(Running total- Count)  are the only option

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

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.