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
OscarSuarez10
Helper III
Helper III

Index begins in 0

Hello, How can I add an Index that begins in 0, I´m using this formula : 

index = RANKX(VALUES(POZOS[Year]);POZOS[Year];;ASC;Dense ) but it begins in 1 ??
1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Do it in Power Query or

Put -1 at the end of the formula

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

Do it in Power Query or

Put -1 at the end of the formula

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.