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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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