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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jonboylib
Frequent Visitor

Stacked Column Chart Sorting

I have a simple column chart displaying figures for each month of the year. Currently the chart is set to sort by month, it's beginning at 'Sep'. I would like to begin at 'Aug', as that's the forst month of my financial year. So, the first column should be 'Aug', then 'Sep, Oct, Nov, etc.'

 

See image of current display.

 

c1.png

 

How can I achieve this?

 

I don't want to change the source data (import from Excel).

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jonboylib ,

 

As far as I know, we need to add a [Month Number] column to sort [Month] column. However, calculated column as johnt75 mentioned should not be a good way. Due to [Month Number] is a calculated column based on [Month] column, this will cause a circule error in data model. 

RicoZhou_0-1657006901874.png

I suggest you to add [Month Number] in Power Query Editor by Conditional Column, and then use Sort by column.

RicoZhou_1-1657007146821.png

Result is as below.

RicoZhou_2-1657007238838.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @jonboylib ,

 

As far as I know, we need to add a [Month Number] column to sort [Month] column. However, calculated column as johnt75 mentioned should not be a good way. Due to [Month Number] is a calculated column based on [Month] column, this will cause a circule error in data model. 

RicoZhou_0-1657006901874.png

I suggest you to add [Month Number] in Power Query Editor by Conditional Column, and then use Sort by column.

RicoZhou_1-1657007146821.png

Result is as below.

RicoZhou_2-1657007238838.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

johnt75
Super User
Super User

Add a calculated column which you can use as the sort column for the month. It could just be a simple SWITCH returning 1 for August, 2 for September etc up to 12 for July. Then set the Sort by Column for month to be the new calculated column

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.