SOLVED

Order month name by calendar sequence

Copper Contributor

Hi Excel experts,

This is Excel 365. I use Power query to get data and there is a column in data format. I want the calendar month in a slicer

1) I used Month.name on Power query to derive the month name. It was correct . It is in Text format. I tried to change the data type to Date and it resulted in an error. So I kept it as Text.

2) I got the calendar months on the slicer , but it is on Alphabetical order. I want to show it by calendar sequence. 

How can I do it? Thanks !

5 Replies

@ImalkaJ 

Do you apply slicer to Table or to PivotTable? Slicer itself shall be sorted correctly

image.png

 

Hi , thanks for looking into this. I am applying it to a pivot table.
best response confirmed by ImalkaJ (Copper Contributor)
Solution

@ImalkaJ 

In PivotTable where data is adding to data model add one more column to the table in Power Pivot

image.png

 next Month

image.png

and sort Month by Month Number

image.png

Thanks! This worked

@ImalkaJ , glad it helped

1 best response

Accepted Solutions
best response confirmed by ImalkaJ (Copper Contributor)
Solution

@ImalkaJ 

In PivotTable where data is adding to data model add one more column to the table in Power Pivot

image.png

 next Month

image.png

and sort Month by Month Number

image.png

View solution in original post