Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |