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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.