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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
d9801
Frequent Visitor

Disabling Slicers when using another Slicer

Hi, 

 

I am trying to disable the Date Filter when Year/Quarter is selected in Date Selection. The formula that I am using to achieve this is:

 

2025-01-08_00-36-07.png
I then add Disable Date Slicers to the Filter pane under Filter on this visual:

d9801_2-1736318342828.png

I know the formula is working because of the i (Data range not available):

d9801_5-1736318486800.png

 

However, the date range does not grey out like the following 2 videos:
Dynamically Enable and Disable Slicers in Power BI

Custom Date Period Selections in Power BI

 

d9801_6-1736318637026.png

 

How do I get this box to grey out or remove it's functionality similar to the videos above? Is there a setting that I am missing?

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @d9801 ,

 

The Date filter can only be used if the value of the filter is “Custom”.

vcgaomsft_0-1736386537603.png

Please try:

Disable Date Slicers = IF(SELECTEDVALUE('Date Calculation Selection'[Date Selection]) = "Year/Quarter",0,1)

Or

Disable Date Slicers = IF(SELECTEDVALUE('Date Calculation Selection'[Date Selection]) = "Date Range",1,0)

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @d9801 ,

 

The Date filter can only be used if the value of the filter is “Custom”.

vcgaomsft_0-1736386537603.png

Please try:

Disable Date Slicers = IF(SELECTEDVALUE('Date Calculation Selection'[Date Selection]) = "Year/Quarter",0,1)

Or

Disable Date Slicers = IF(SELECTEDVALUE('Date Calculation Selection'[Date Selection]) = "Date Range",1,0)

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

d9801
Frequent Visitor

I do have the interactions on: 

d9801_0-1736348700597.png

 

That is why I am confused.

Can you share a sample file pleasse


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @d9801 ,

 

Be sure that you have the edit interactions between the two slicers active:

MFelix_0-1736328717154.png

 

 

MFelix_1-1736328743898.png

 




Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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