cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

how to make a slicer shows up only when the other slicer selected certain values

Hello!

 

I have a date slicer and also a slicer for internetshop. The date slicer can choose dates 20190101-today. I hope that only when user choose dates after 20220731, the internetshop slicer will show up. If the user choose some dates before 20220731, the internetshop slicer will not show up. Because we have internetshop information in the table only after 20220731. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You can create a measure like

 

if(maxx(allselected(Date), Date[Date]) <date(2022,07,31) ,1,0)

 

You use the above visual level filter of visual to remove values.

 

 

Also check:https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You can create a measure like

 

if(maxx(allselected(Date), Date[Date]) <date(2022,07,31) ,1,0)

 

You use the above visual level filter of visual to remove values.

 

 

Also check:https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

Anonymous
Not applicable

Thank you @amitchandak , this is very brilliant! 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors