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
jhowe1
Helper III
Helper III

If slicer not selected blank visual

Hi all,

 

I have two multi-row card visuals which i want to show blank if nothing is selected in slicer. I've noticed a bunch of people have asked the same thing, (why can we not have conditional visibility property on visuals like we have in SSRS properties???) however I can't seem to find a consistent uniform approach. Also other solutions involve if blank sum else 0 etc. I don't want to SUM anything just either show/hide customer and address record. What is the best way to do this? 

 

Screenshot 2021-02-23 at 11.37.55.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jhowe1 ,

 

Please use the following formula to create a measure 

Measure = IF(ISFILTERED('Table'[ID]),1,0)

And apply it to filter pane, set as "=1" like this:

2.25.5.isfilter.gif

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @jhowe1 ,

 

Please use the following formula to create a measure 

Measure = IF(ISFILTERED('Table'[ID]),1,0)

And apply it to filter pane, set as "=1" like this:

2.25.5.isfilter.gif

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hello, I have the same situation I have State column and If slicer is not selected I want my map to be blank? Thank you in advance.

Finally managed to get back to this, a picture tells a thousand words thank you. A conditional visibility property on the visual would still be nice like we have in SSRS instead of these workaround solutions but works great will do for now.

amitchandak
Super User
Super User

@jhowe1 , You have to this for all measures

 

new measure = if(isfiltered(Customer[Customer name]), [Measure], blank())

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

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

Sorry I need more detail than this, the two visuals I want to make blank are Customer and Address visual, taken from CustomerDim, AddressDim as highlighted in my post. There are no measures/calculations in these two visuals. Where do I create this 'isfiltered' measure in Customer and Address? Please provide steps. Thanks.

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.