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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
324
Helper I
Helper I

Bar chart not showing numbers in order

I created the following bar chart. The x-axis has almost everything in order, but notice that the "9" group is displayed after the "10" group. Why could this be, and what can I do to fix it?

 

Screen Shot 2022-10-28 at 3.03.01 PM.png

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

You need to sort the visual by the axis field.

sort.gif





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

5 REPLIES 5
v-zhangti
Community Support
Community Support

Hi, @324 

 

You can try the following methods.

vzhangti_0-1667202306223.png
Switch the sort from Value to Type.

vzhangti_1-1667202342112.png

vzhangti_2-1667202418472.png

Is this the result you expect?
Sort one column by another column in Power BI - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-zhangti - thanks for the response. I suppose we have different versions of Power BI. Where can I find that button in the newer version? I can't seem to find it.

 

Screen Shot 2022-10-31 at 8.30.22 AM.pngScreen Shot 2022-10-31 at 8.30.36 AM.png

Bifinity_75
Solution Sage
Solution Sage

Hi @324 , try this:

 

- Go to Field and select Number

- Go to Sort by Column and selct Number

 

Like the picture:

Bifinity_75_0-1666990011725.png

 

Best regards

Hi @Bifinity_75  - thanks for the response. I suppose we have different versions of Power BI. Where can I find that button in the newer version? I can't seem to find it.

 

324_0-1667219538536.png

 

324_1-1667219538532.png

 

 

PaulDBrown
Community Champion
Community Champion

You need to sort the visual by the axis field.

sort.gif





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Users online (24,798)