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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Tanuja_PBI
Regular Visitor

Do we have any function in Power BI Desktop similar to Excel INDEX function in Microsoft Excel?

Do we have any function in Power BI Desktop similar to Excel INDEX function in Microsoft Excel?. Kindly look into the data.

This is doctors appointment "start date" and "begin time" data from the sql. Data will be updated daily and I need the visual of the 5th row/record of the column named "start date" or all the columns of 5th row. Your solution would be appreciable if you have any idea about this requirement..data.jpeg

1 REPLY 1
Greg_Deckler
Super User
Super User

@Tanuja_PBI Doesn't look like it. IN-K Excel to DAX Translation - Microsoft Power BI Community

 

Generally you add an Index column in Power Query. I did write a DAX Index once: The Mythical DAX Index - Microsoft Power BI Community.

Another way might be to use a RANKX to rank things but you'd have to define why that particular row is the "fifth" row. Unless you are sorting in Power Query Editor and using Table.Buffer, sort order is not guaranteed. I would use sorting, Table.Buffer and then add an Index in Power Query.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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