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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Need Help!!! Slicer element formatting

Hi All,

 

I have a date format in my report from which i have extraced month to use as a slicer. i have made a calculated column from that extracted month column like below-:

 

=(if [Report Month]=1 then "January" else
if [Report Month]=2 then "February" else
if [Report Month]=3 then "March" else
if [Report Month]=4 then "April" else
if [Report Month]=5 then "May" else
if [Report Month]=6 then "June" else
if [Report Month]=7 then "July" else
if [Report Month]=8 then "August" else
if [Report Month]=9 then "September" else
if [Report Month]=10 then "October" else
if [Report Month]=11 then "November" else
"December")

 

but the slicer is displaying month names like this-:

 

 mon.PNG

 

Can anyone tell how we can dispplay month names as calender type like 

Jan

Feb

Mar

April....

 

and not in alphabetical order?

 

Regards,

Droid

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Anonymous

You need to create an auxiliary table and relationship as below, then click on the month column and sort it by sequence.

 

customSort.gif

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Anonymous

You need to create an auxiliary table and relationship as below, then click on the month column and sort it by sequence.

 

customSort.gif

Anonymous
Not applicable

@Eric_Zhang, Thank you Eric. That worked like Charm. 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

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.