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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mega79
Helper I
Helper I

Month not showing in Date hierarchy Slicer

Hi all, I'm working in a Report and I would like to use the Slicer to view data by Month.

The data comes in a by day basis and when I try to use the Slicer Visualization I only get Year 2016 of if I click by date I will get all the individual dates in the Slicer. Smiley Sad

 

What I want to have in the Slicer is the following:

Date

January

February

March

...

 

How can I do this in the Slicer?

Thanks in advance for your help.

 

Capture.PNG

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@Mega79 power bi default slicer currently doesn't support date hierarchy. only few visuals support date hierarchy. you should use custom visual called hierarchy slicer to have date hierarchy from your date column.

 

https://app.powerbi.com/visuals/show/HierarchySlicer1458836712039

View solution in original post

6 REPLIES 6
v-haibl-msft
Employee
Employee

@Mega79

 

You can create another two columns with following two formulas.

Month = MONTH( Table1[Date] )
MonthName = FORMAT( Table1[Date], "mmmm" )

Month not showing in Date hierarchy Slicer_1.jpg

 

Then select the MonthName column and make it sorted by Month column as below.

Month not showing in Date hierarchy Slicer_2.jpg

 

Select MonthName for the slicer.

Month not showing in Date hierarchy Slicer_3.jpg

 

Best Regards,

Herbert

 

This was my solution for awhile, now I need to have multiple years on my report and sorting by the generic name of the month will combine multiple years.  How do we get around that?  

Looked so many places for this solution. Bravo!

ankitpatira
Community Champion
Community Champion

@Mega79 power bi default slicer currently doesn't support date hierarchy. only few visuals support date hierarchy. you should use custom visual called hierarchy slicer to have date hierarchy from your date column.

 

https://app.powerbi.com/visuals/show/HierarchySlicer1458836712039

You've already posted this in this thread. Waste of bandwidth to continuously post the same thing over and over again. If you in fact have a solution, and your solution is clear, there's no reason to post redundantly. If you feel the need to post redundantly, then your explanation or solution needs work. Go back to the drawing board to make it clearer. 

You posted the same thing in the same place on the same day. Insanity.

I've experienced a similar issued with the timeline slicer visual.

 

The fact it can't handle a date hierarchy properly is really disappointing

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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