cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

Matrix Month Column Wrong Order

Hi all,

 

I have placed the month name column (below) in a matrix however it does not order correctly.

 

 Month = MONTH([Date])

 

Month Name = SWITCH('Calendar'[Month],1,"January",2,"February",3,"March",4,"April",5,"May",6,"June",7,"July",8,"August",9,"September",10,"October",11,"November",12,"December")

 

How can I order the Month Name from January to December?

 

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Resolver I
Resolver I

in the data view click on the month name column and thenunder the column tools tab click the sort bycolumn tab to sort by the month number column 

View solution in original post

2 REPLIES 2
Super User III
Super User III

@HenryJS ,

 

You can create a column on the date table like:

YearMonth = FORMAT(TABLE[DATE], "YYYYMM")

 

MonthName = FORMAT(TABLE[DATE], "MMMM")

 

and sort the MonthName by YearMonth



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Resolver I
Resolver I

in the data view click on the month name column and thenunder the column tools tab click the sort bycolumn tab to sort by the month number column 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors