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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Graph Months not ordered

Hi all,

 

So I am in the process of ordering the months in a graph. However, Power Bi just decides to either order them alphabetically or in other orders. I tried various methods such as creating an extra month number column as suggested by numerous sources but that did not work.

 

As a last resort I tried to just put a number in front of the month but even then power Bi just decides to order it incorrectly. 

 

See screen (I selected order by month and tried both ascending and descending)

Question.PNG

 

Any idea?

 

Thanks:)

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Create a month number column based on the month name, then select the month name column, click sort by column button, and select sort by month number. Then drag the month name field back into the graph.

Month number = MONTH(Sheet2[Date])

V-lianl-msft_0-1611041140860.pngV-lianl-msft_1-1611041160756.png

 

 

Best Regards,
Liang
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

5 REPLIES 5
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Create a month number column based on the month name, then select the month name column, click sort by column button, and select sort by month number. Then drag the month name field back into the graph.

Month number = MONTH(Sheet2[Date])

V-lianl-msft_0-1611041140860.pngV-lianl-msft_1-1611041160756.png

 

 

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

Fowmy
Super User
Super User

@Anonymous 

To get the months sorted in the order of Jan, Feb, Mar . . . and so on, you need to create a sort column that represents the month number and sort the month name by that column:

Refer to this sort video: https://www.youtube.com/watch?v=NlX7Cp2P0d4

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Hi @Anonymous ,

Please click on the three dots (ellpses) in tp right corner of the chart. 

And choose sort by months.

Anonymous
Not applicable

Hi,

 Off cour I did that, still shows it wrong. It takes the first number of 10-11-12 and counts it before 2 lol. So that doesnt work. 

For this to work, I needed to ensure that the Numeric Month column was in Integer format. Mine was in text format, which is why it wasn't working.

Helpful resources

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