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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

PowerBi ranking by alphabet order and display its rank in table

Hi all,

I had a requirement for displaying names sorted order and display its serial number.

Also if slicer comes into picture the rank should be in a sequence from 1 to......

Thanks in advance.

Ex:Apple  1 

    Banana 2

    Cat 3

Dog 4

If slicer is animal type:

Cat 1

Dog 2

 

 

1 REPLY 1
amitchandak
Super User
Super User

@nagasaikumarb22 , have a unique sequence column like with sort order taken care at animal and fruit level  and then mark that as sort column

 

new Seq=

If([Type] ="Fruit", 1000+ [Seq], 100+[Seq])

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.