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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Sort chart x axis custom

Hi

 

I am in the education sector and trying to produce a chart which is sorted by a 15 point scale (A+ A A- .... E+ E E-) with the alphabetical descriptors and not numerical ones. 

The chart will sort alphabetically fine but goes A A- A+ etc instead of A+ A A-.

Any ideas on how this can be done?

 

Thank you

Capture.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous

Try to sort Grade column manually by following way-

  1. Create a column by using the following DAX

                Grade Sort = SWITCH(Table1[Grade_Base],"A+",1,"A",2,"A-",3,"B+",4,"B",5,"B-",6,"C+",7,"C",8,"C-",9,10)

      2. Sort Grade Column by Grade sort(created column) under the modeling tab in ribon pallet.

For more details see the pbix file.

Download pbix file

 

 

Regards,

Angad

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous

Try to sort Grade column manually by following way-

  1. Create a column by using the following DAX

                Grade Sort = SWITCH(Table1[Grade_Base],"A+",1,"A",2,"A-",3,"B+",4,"B",5,"B-",6,"C+",7,"C",8,"C-",9,10)

      2. Sort Grade Column by Grade sort(created column) under the modeling tab in ribon pallet.

For more details see the pbix file.

Download pbix file

 

 

Regards,

Angad

how do you disable the auto sort feature on the visuals ? 

22LACMT_0-1672856497626.png

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors