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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors