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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Tarunika
Helper II
Helper II

How to Disable and enable the slicer filter

Hi all,

 

Here i have four filters i.e Year , Month, Week Start Date & Week End date i want to select a filters in such a way that after selecting year from the year filter only  month filter should be enabled untill then it should be disabled similarly follows for week Dates

Tarunika_0-1646825280720.png

Is it possible to do it in the way as it is done for sensitivity in the below pic

 

Tarunika_1-1646825381867.png

 Please help me 

 

Thank you

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Tarunika , I doubt you can disable. But using is filtered you can check the value and another slicer visual level filter and check for filtered to have value 

 

if(isfiltered('Date'[Year]),1,0)

 

Now in check in month slicer visual level filter that it is =1

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Tarunika , I doubt you can disable. But using is filtered you can check the value and another slicer visual level filter and check for filtered to have value 

 

if(isfiltered('Date'[Year]),1,0)

 

Now in check in month slicer visual level filter that it is =1

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you @amitchandak 

 But is any there any way to hide the month filter itself unless any selection is made from year filter

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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