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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.