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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Hopeisgood1
Resolver I
Resolver I

Simple sort issue

For the love of god, I am not able to sort this priority in the visualization. I need the High and Medium in the order of Low, Medium, High, and Critical.

 

Hopeisgood1_0-1731009016205.png

I created a table to sort by column the Order. 

 

Hopeisgood1_1-1731009064192.png

 

Then I tried the sort by axis/legend - still wrong

 

Hopeisgood1_2-1731009218476.png

 

What am I missing or doing wrong here??

 

 

 

 

 

1 ACCEPTED SOLUTION

Here is the pbix .

Please select the Priority column, then click on Sort by and choose the Order column.

Gabry_0-1731014087505.png

 

View solution in original post

9 REPLIES 9
Gabry
Super User
Super User

Hey @Hopeisgood1 

can't you just add a number before the text? 
Like 0 - Low, 1 - Medium, 2 - high ecc?

Not a satisfactory solution?

Won't work as the priority column has a relationship with the main table of the same name. 

 

Hopeisgood1_1-1731010017056.png

Hopeisgood1_2-1731010062619.png

 

 

 

 

 

 

Don't modify the column used for the relationship, but add a new column in the table Prioritisortorder with the number as prefix, then use this new column for the visual leggend.

 

Now I'm thinking that if you sort the priority column by order column should work also.

Go in the data view, then select the priority column, then sort by order column

 

Gabry_0-1731010659855.png

 

Tried - Nope 😕

 

Hopeisgood1_0-1731010877363.png

 

I even tried to sort by legend as well as Details...nope

 

Hopeisgood1_1-1731011044161.png

 

Also, it seems that in the screenshot you provided, you’re not sorting the priority column by order but rather sorting the order column itself.

Additionally, if you set up the order column this way, you should use the order column as the legend instead of the priority column.

Are you sure? I've tried with simple data and both the methods worked good.

Could you load your pbix?

I am not able to share the pbix due to company's policies 😕 

 

Is it possible you can show me the snapshots to what you did?

 

Here is the pbix .

Please select the Priority column, then click on Sort by and choose the Order column.

Gabry_0-1731014087505.png

 

THANK YOU!!!!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Kudoed Authors