1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

How to sort months in a slicer? (Or format Date in slicer to only be months?)

Our take

Sorting months in a slicer can be challenging, especially when they appear in alphabetical order rather than chronological order. In this scenario, where you've created a "Name of Month" column in Power Query but still face sorting issues, there are a couple of approaches you can take. First, ensure that the slicer settings are configured correctly to sort by your source data. Alternatively, consider using the original date format, which allows pivot tables to automatically group data by months.

I have a slicer for a pivot table with months (from a PQ where I created a column from date using "Name of Month"). It's showing the months in alphabetical order, instead of month order. In slicer settings, I have sort by order source data selected, and on the PQ table they're custom sorted the way I want, but it's still showing alphabetically on the slicer. What am I doing wrong here?

Another option is to work from the date itself - in other pivot tables, the date (formatted as date in my PQ) will automatically chunk into months, years, etc. Here I can't seem to get that option.

Either solution would work for me, as long as I can eventually have the months in the slicer in the proper order. Thanks in advance.

submitted by /u/i-love-dregins
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles