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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
f_e_user
Regular Visitor

Ordering a Date Hierarchy in a slicer

Dear Guru of PowerBI,
I've a date "Opened_at". I've created Year,Month Number,MonthName  columns to have on my date slicer only the real month and added it to a new Hierarchy

f_e_user_0-1685008365252.pngf_e_user_1-1685008389663.png

This is how the months are showed. I would like have them order by Month Number
and show them as

2023

     Jan
     Feb

     Mar
     Apr
     May
Instead of having them sorted alphabetically by name.
If I add MonthNumber to Slicer, it sorts in a correct way, but I don't want to show the month Number.
How Can I achieve This ?

2 REPLIES 2
AjithPrasath
Resolver II
Resolver II

Hi @f_e_user ,

 

  Select the month name column and sort that column by the month number column from the column tools column . It will sort your issue.

 

Best Regards,

Ajith Prasath

 

If this post helps, then please consider Accept it as the solution and give kudos to help the other members find it more quickly.

The only way to sort by MonthNumber is that I add MonthNumber in Field Hierarchy

f_e_user_0-1685092272946.png

And it becomes Like this.
However, I would like to mantain this order without visualizing the Month Numbers (1,2,3,4,5) in the slicer.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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