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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
dokat
Post Prodigy
Post Prodigy

Missing Sort By Option in Bar Chart

Hi 

 

I have a data table with Pack Size and corresponding Sales. Pack Size is in text format. I created a calculated colum and converted pack size from text to number. Then i created clustered bar chart and put newly created pack size (number format) to Axis. I'd like to sort the chart by sales. However after converting from text to number format, look of chart completely changed. Isort by option for the chart dissapeared. Is there a work around this issue? Please see below screenshot. Thanks

 

dokat_0-1646187566695.png

 

3 REPLIES 3
amitchandak
Super User
Super User

@dokat , You can mark the pack size number as sort column of the text column

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

 

Also check axis type, change it to categorical

Axis_type.png

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thanks for your response. I'd like to sort it by dollar sales not pack size. It's a clustered bar chart. I looked at under Y-Axis it doesn't give me option to change it categorical. Please see below screenshot

 

dokat_0-1646188817048.png

 

@dokat , I can see Type under Y axis, When I use date or number on categorical axis

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors