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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.