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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Custom Sort - Percentage Ranges

Hi,

I am trying to custom sort an axis that lists percentage ranges but having trouble even after reading the number of articles on this. See Image below. I even tried to create a table to then order these. Help please!!

Graph.PNGtable.PNG

1 ACCEPTED SOLUTION

You need to create a relationship between your data table and new table where you created indexes using key Compa Ratio Ranges.

View solution in original post

8 REPLIES 8
RolandsP
Resolver IV
Resolver IV

You need to add Index column in the new table. And have something like this:

 

Index   Value

1          <80%

2          80-89%

3          90-99%

etc.

 

And then sort Value field by Index field. Then it should work.

Anonymous
Not applicable

Thanks @RolandsP! Any idea what I do next after I have added the index to then sort my graph in the same order?

 

Thanks heaps in advance 🙂

Please select Value field form Field list and then find Sort by Column button on Ribbon. You press that button and you will be able to select that Value field is sorted by Index field.

 

Capture4.JPG

Anonymous
Not applicable

hmm not quiet what I am after.

 

I now need to sort the below graph in the same order as the index - how do I link the additional query to my raw data?

Pre and Post ReviewPNG.PNGIndex Query.PNG

Graph.PNG

You need to create a relationship between your data table and new table where you created indexes using key Compa Ratio Ranges.

Anonymous
Not applicable

Figured it out. Thank you!

Cheers!

Anonymous
Not applicable

I have done that and then sorted by index but still no luck.

 

Any other tips or tricks?

 

Thanks again @RolandsP

 

5mage 4.PNG

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.