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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RahimZulfiqar
Frequent Visitor

Months are not sorted according to calendar months in Column Chart in POWER BI

Any Solution ? 

Months are not sorted according to calendar months in Column Chart in POWER BI

 

I have insert two calculated columns and applied DAX

MonthN = MONTH([ORDER DATE])

 

MonthT = FORMAT([ORDER DATE],"mmm")

 

And then I put in Column chart Chart to see sales trend. But unable to sort the months. Even I made sort by MonthN which generates number from the given dates and made them ascending order but still no success. 

 

Any solution ? 

1 ACCEPTED SOLUTION
drewlewis15
Solution Specialist
Solution Specialist

Are you, by chance, trying to solve this by sorting the month number column, itself?  If so, that will not work.  You need to select the Month Name column, and then choose the "Sort by Column" option.  From there, choose to sort by the month number column.

 

Sort By.png

 

That will turn your chart from looking like this:

Start.png

 

To this:

end.png

 

View solution in original post

1 REPLY 1
drewlewis15
Solution Specialist
Solution Specialist

Are you, by chance, trying to solve this by sorting the month number column, itself?  If so, that will not work.  You need to select the Month Name column, and then choose the "Sort by Column" option.  From there, choose to sort by the month number column.

 

Sort By.png

 

That will turn your chart from looking like this:

Start.png

 

To this:

end.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.