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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
wadden0032
Frequent Visitor

How to reverse year order in

I have a stacked bar chart that appears as so:

 

year-order_stacked-chart.jpg

Quite simply, I want to reverse the order of the years so that 2011 is on top and 2019 at the bottom. Seems it would be an easy thing, but as a rookie, I'm discovering nothing in Power BI is ever easy. 😕

 

In my data table the "Years" column is formatted as a "date" data type, and I've tried switching from acending to decending order, and back again, but it seems to have no affect.

 

So how can I make this change?

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@wadden0032 

Change the Y-axis type to "categorical" in the formatting pane and then sort ascending by year:bar chart order.png

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

@wadden0032 

Change the Y-axis type to "categorical" in the formatting pane and then sort ascending by year:bar chart order.png

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thank you, Paul! You are officially my Hero of the Day! 😁

@wadden0032 

Well thank you! 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.