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
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
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