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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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