Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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?
Solved! Go to Solution.
You need to sort the visual by the axis field.
Proud to be a Super User!
Paul on Linkedin.
Hi, @324
You can try the following methods.
Switch the sort from Value to Type.
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.
Hi @324 , try this:
- Go to Field and select Number
- Go to Sort by Column and selct Number
Like the picture:
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.
You need to sort the visual by the axis field.
Proud to be a Super User!
Paul on Linkedin.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |