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! Learn more

Reply
Ryanc2258
Helper I
Helper I

Sort the x axis in stack bar chart

Hi, I have a stacked bar chart, the X axis shows the upcoming tasks base on upcoming dates (1, 7, 15, 30, 60, 90, 120 and above 120). Current, the bar chart shows in a ramdon order. I would like to have it show in the order of upcoming date range (1, 7, 15, 30, 60, etc). Pls help

Ryanc2258_0-1595618596770.png

 

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Hi @Ryanc2258 ,

 

Check this link to create a custom order for your x-axis:

http://www.excelnaccess.com/custom-sorting-in-power-bi/

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

Thank you very much. 

 

Question solved. 

View solution in original post

2 REPLIES 2
Pragati11
Super User
Super User

Hi @Ryanc2258 ,

 

Check this link to create a custom order for your x-axis:

http://www.excelnaccess.com/custom-sorting-in-power-bi/

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thank you very much. 

 

Question solved. 

Helpful resources

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors