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
hashtag_pete
Helper V
Helper V

Slicer - make year not selectable

Hello everyone, 

I was wondering if the following setting with unselectable parameters is possible:

I have a slicer with year and month like this

hashtag_pete_0-1627288326913.png

with the slicer setting "single select" turned on. 
Can I disable the selection of the years somewhere? I still want them to be shown, in order to signal the respective year, but if one selects the year, it basically is a hidden selection of 12 month. 

Thanks to you all.

Best

hashtag_pete

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @hashtag_pete 

 

The built-in slicer doesn't have this feature. But you can use a custom visual HierarchySlicer to meet your need. 

 

Select Leafs only for Selection type.

072802.jpg

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

4 REPLIES 4
v-jingzhang
Community Support
Community Support

Hi @hashtag_pete 

 

The built-in slicer doesn't have this feature. But you can use a custom visual HierarchySlicer to meet your need. 

 

Select Leafs only for Selection type.

072802.jpg

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

hashtag_pete
Helper V
Helper V

Yes, there is a hierarchy. But I do not want to hide the year, I just want to have it non-selectable. 

As I have the setting to "just select one month" (=single select" in slicer setting), selecting the year radio button would overrule this. 

Hi @hashtag_pete ,

 

I don't yhink you can achieve that in a hierarchy slicer.

Hierarcy works on the principle of selecting something in the top hierarchy and then selecting something in the lower hierarchy.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Pragati11
Super User
Super User

Hi @hashtag_pete ,

 

Just seeing the screenshot, I can see that you are moving a hierarchy to your slicer - Year --> Month

You can't hide YEAR in this case.

May be try creating 2 different slicers - One of YEAR and another one for MONTH.

See if that helps.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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.