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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ianwuk
Helper III
Helper III

How can I rearrange month names in a slicer?

Hello All.

I created a column called Month, which takes just the Month of an order date in my data.

 

So it looks like this:

 

Order Date:                      Month


3rd January 2018             January
28th February 2018         February

1st March 2018               March

2nd March 2018             March

2nd March 2018             March

 

When I add a slicer to my report it lists the month in alphabetical order.

So the slicer shows:

All
February

January 

March

 

How can I rearrange that to be in the correct month order?

Many thanks.

1 ACCEPTED SOLUTION
toddpbi
Helper II
Helper II

Hi there Ianwuk,

 

In order to display months in the correct order, you'll have to add a reference ID column that refers to the month names with numbers.

 

Month          MonthNumber

 

January           1

Febuary          2

March            3

April               4

 

Then sort the month column by MonthNumber in the modelling tab in the Data Model. This should re-arrange the months by calendar instead of alphabetically.

 

You can use the following function on your OrderDate column after ensuring that it is in the date format. Using the below formula will return an integer value for every month in your date table.

 

New Column Name = MONTH ( 'Calendar Dates'[Date Format] )

Hope this helps.

View solution in original post

2 REPLIES 2
toddpbi
Helper II
Helper II

Hi there Ianwuk,

 

In order to display months in the correct order, you'll have to add a reference ID column that refers to the month names with numbers.

 

Month          MonthNumber

 

January           1

Febuary          2

March            3

April               4

 

Then sort the month column by MonthNumber in the modelling tab in the Data Model. This should re-arrange the months by calendar instead of alphabetically.

 

You can use the following function on your OrderDate column after ensuring that it is in the date format. Using the below formula will return an integer value for every month in your date table.

 

New Column Name = MONTH ( 'Calendar Dates'[Date Format] )

Hope this helps.

Hi @toddpbi.  Thanks for much for replying and for helping!  Much appreciated.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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