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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Switch the order of Legend

Hi Experts,

 

I am trying to switch the order of categories in "Legend"

 

Now its reading like this,

 

Legend.JPG

 

I was wondering if I could switch the order of extreme - low so that it reads extreme, high, moderate and low.

 

Thanks for your help in advance.

 

Regards

 

 

1 ACCEPTED SOLUTION

Take a look at that article.  You will have to add a column to your data model that contains the numeric sort order you want your status field to sort by.

 

View solution in original post

5 REPLIES 5
jdbuchanan71
Super User
Super User

Hello @Anonymous 

You will need a column in your data that tells PowerBI how to sort the [Current Status].  Take a look at this article about how it works.

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

 

Anonymous
Not applicable

Hi @jdbuchanan71 ,

 

Thanks for your response. i tried that option earlier. But I can see only this,

 

Sort option.JPG

 

i just want to switch the order of legend cateogies.

 

Thanks

 

Take a look at that article.  You will have to add a column to your data model that contains the numeric sort order you want your status field to sort by.

 

Anonymous
Not applicable

I just had a look few times. I dont see anywhere it states that , add a column to data model that contains the numeric sort order.

 

Sorry, pls let me know if I am missing anything.

 

Thanks

 

@Anonymous 

Take a look at this thread which discusses the same topic.  My more detailed description there should help.

https://community.powerbi.com/t5/Desktop/Sort-Slicer-Value-By-A-Different-Column/m-p/715630

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors