cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors