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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sdhn
Responsive Resident
Responsive Resident

Sorting month on slicer

Hi All,

 

I am struggling with how to sort the slilcer the way I need: 

 

I want as below:

 

Feb 

Mar

Aprl

May

 

But it is showing as:

April

Feb

Mar

May

 

Thanks 

 

 

1 ACCEPTED SOLUTION
KNP
Super User
Super User

Hi @sdhn,

 

You need the month number in your table to sort by. Once you have that, select the text month column and choose sort by, then select Month Number.

 

KNP_0-1623181186610.png

 

Hope this helps.

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

4 REPLIES 4
KNP
Super User
Super User

Hi @sdhn,

 

You need the month number in your table to sort by. Once you have that, select the text month column and choose sort by, then select Month Number.

 

KNP_0-1623181186610.png

 

Hope this helps.

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x
sdhn
Responsive Resident
Responsive Resident

Hi Knp,

 

I don't have month number. Please see snap shot below:

 

 

sdhn_0-1623181484214.png

Thanks 

 

You'll need to add one. 

There are a few different ways to do this, in DAX, choose new column and enter this...

Month Number = MONTH(DATEVALUE(2021 & "/" & 'Date'[Month] & "/" & 1))

 

You'll need to rename the 'Date'[Month] to match your 'Table'[Column].

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x
sdhn
Responsive Resident
Responsive Resident

Thanks

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.