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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

SORTING IN A GRAPH BY NUMERICAL NUMBER

Hello

I am having issues sorting the below from number 1 to 12. Anything after 9 sorts after 1 etc. Any tips on how to solve please?


Sorting.JPG

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Amitchandak

Thank you for you feedback.

 

I do have the numeric value in a seperate column and sorted this in the column tools sort by column and chose the field name of POSITION (numeric only). It did not work as this field is not in my stack graph so was not able to sort by this column.

 

However being trouble shooting for the last hour and I came right. This is what I did. I put the POSITION column under Tooltips then sorted by POSTION (as can be seen in the graph sort) then sort by ascending. Wholla it works now. 

 

SortingFix.JPG

 

 

 

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Take out these number in a new column , that should be numeric column,

Mark that a sort column for this and then it will sort correctly

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

Anonymous
Not applicable

Hi Amitchandak

Thank you for you feedback.

 

I do have the numeric value in a seperate column and sorted this in the column tools sort by column and chose the field name of POSITION (numeric only). It did not work as this field is not in my stack graph so was not able to sort by this column.

 

However being trouble shooting for the last hour and I came right. This is what I did. I put the POSITION column under Tooltips then sorted by POSTION (as can be seen in the graph sort) then sort by ascending. Wholla it works now. 

 

SortingFix.JPG

 

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.