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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Winniethewinner
Helper IV
Helper IV

Add sequence number for a calculated table

Hello everyone, 

I have a calculated table which retrieves the month values from my fact table. How can I add a column with sequence number 1,2,3,4,5,6....? Thank you.  

Winniethewinner_0-1654806434776.png

 

1 ACCEPTED SOLUTION
vapid128
Solution Specialist
Solution Specialist

 

rankx(Month_Orders,[month],,ASC)

View solution in original post

2 REPLIES 2
vapid128
Solution Specialist
Solution Specialist

 

rankx(Month_Orders,[month],,ASC)

Thanks @vapid128 , works perfect!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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