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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Em1278
New Member

How to Sort Month Names Chronologically in a Slicer?"

I am using a direct query and do not have the access to the data. Hence I cannot use 'sort by' other column to sort the months in chronological order. Is there any other way to get the months in chronological order inside the slicer.

Currently, I am getting the below sequence.
Capture.PNG

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Use a calendar table that has Month Name and Month Number columns. Sort the name by the number.  Join the table to your Month Name column in your data source. Use the Month Name from the new table for the slicer.

View solution in original post

Anonymous
Not applicable

Hi, @Em1278 

The solution offered by lbendlin's is very effective. 

 

And I would like to share some additional solutions below. 

 

You can also customize the sorting based on fields in the Power Query Editor. 

First click Transform data, then click Column From Examples: 

vfenlingmsft_0-1724136460697.png

 

Below you can customize the sorting by field, then click close&apply: 

vfenlingmsft_1-1724136460698.png

 

Sort MonthName by SortNum: 

vfenlingmsft_2-1724136476562.png

 

Result: 

vfenlingmsft_3-1724136476563.png

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @Em1278 

The solution offered by lbendlin's is very effective. 

 

And I would like to share some additional solutions below. 

 

You can also customize the sorting based on fields in the Power Query Editor. 

First click Transform data, then click Column From Examples: 

vfenlingmsft_0-1724136460697.png

 

Below you can customize the sorting by field, then click close&apply: 

vfenlingmsft_1-1724136460698.png

 

Sort MonthName by SortNum: 

vfenlingmsft_2-1724136476562.png

 

Result: 

vfenlingmsft_3-1724136476563.png

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

Use a calendar table that has Month Name and Month Number columns. Sort the name by the number.  Join the table to your Month Name column in your data source. Use the Month Name from the new table for the slicer.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.