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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

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 @Anonymous 

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

Not a satisfactory solution?

Anonymous
Not applicable

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

 

Anonymous
Not applicable

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?

Anonymous
Not applicable

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

 

Anonymous
Not applicable

THANK YOU!!!!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.