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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
FlatFish
New Member

Sort Axis Correctly

Hi everyone I feel like this is such an easy fix, but I am dumbfounded. I have an X-axis like below and I am unable to get it to sort by, Less Than 15 Days Past Due, 15-90 Days Past Due, and then 90 Days+ Past Due. I created a measure to signify that Less Than 15 Days Past Due is 1, 15-90 Days Past Due is 2, and then 90 Days+ Past Due is 3 and tried sorting by that, but it had to be included and messed up the visual.

 

FlatFish_0-1649336375647.png

If anyone has a solution that would be great!

 

Also, if someone knows or can link a source to the order in which Power BI sorts naming conventions that would be super helpful for the future. Such as, Letters, numbers, then symbols. Something along the sorts.

2 REPLIES 2
Anonymous
Not applicable

Hi @FlatFish,

 

May I ask if your problem has been solved? Did johnt75's post above help you? If any of the posts are helpful, then please consider accepting it as a solution to help other members find it faster. Many thanks!

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

johnt75
Super User
Super User

You need to replace the measure that you did with a calculated column that does the same thing, and that column needs to be on the same table as the one that has your categories in. You can then set your categories column to be sorted by the new sort order column.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.