cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Keith011
Helper III
Helper III

Descending Sort in Graph without changing data type to Number

Hi There,

 

This is my chart sorted DESCENDING order

Keith011_1-1672821048481.png

 

This is my chart sorted ASCENDING order

Keith011_2-1672821125903.png

 

Somehow Power BI doesn't read "10" as a "10", it reads as a "1-0" ? How do I make it sorted by Descending order 10,9,8,7,6,5,4,3,2,1?

 

I know changing the Type to Number and sort will definitely work. But I cant do that, Because My dataset is unpivoted, so the column itself contains text and values, i can't change type to Number , my other charts will hit an error

 

Is there a workaround for this?

 

3 REPLIES 3
Nishudhan
Frequent Visitor

Could you please provide some more input to better understand the scenario..provide the dataset image.

Hello,

 

sure, check this microsoft article that would walk you through the steps.

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-deskto...

 

If I answered your question, please mark my post as solution so it would appear to others, Appreciate your Kudos👍

Follow me on Linkedin

Idrissshatila
Solution Sage
Solution Sage

Hello,

You could add a column for your sorting and sort the used  column in the graph by this new sort column.

like this one

Idrissshatila_0-1672822163337.png

 

If I answered your question, please mark my post as solution so it would appear to others, Appreciate your Kudos👍

Follow me on Linkedin

Helpful resources

Announcements
March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors