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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
NCPowerBI
Helper I
Helper I

X Axis Year Order (Continuous vs Categorical)

Hi all,

 

I have a bar chart that has model year data going along the X axis and some of the years are missing. I usually switch the X axis from continuous to categorical to resolve the issue but when I do it in this case it does the below. While it does add all the years to the axis for visibility, It jumbles up the years in no particular order. 

 

Do you know how to fix this?

 

Before

 

NCPowerBI_0-1677597595433.png

 

After

NCPowerBI_2-1677597644265.png

 

 

 

 

1 ACCEPTED SOLUTION
YukiK
Impactful Individual
Impactful Individual

You can sort the order using "sort by" option. Click on the visual and on the top right, you'll see three dots. You'll find sort by option there

View solution in original post

2 REPLIES 2
NCPowerBI
Helper I
Helper I

That worked. Thank you sir!

YukiK
Impactful Individual
Impactful Individual

You can sort the order using "sort by" option. Click on the visual and on the top right, you'll see three dots. You'll find sort by option there

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.