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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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