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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors