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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
csteffan07994
New Member

Card to display blank unless filter selected

Hello, my tool has multiple cards to display data. The goal is to make it easy for our sales force to access certain SKU prices via their mobile devices while they are in the field. I would ideally like to make all three of the grey cards blank until the top four (not including retailer) have a selection made. 

 

THe formula here is an example of one i have found in the forums to use. It unfortunately is clashing with the card visual. So does "INT(IFFILTERED=TABLE)" formulas. They work on other visuals so this is something specific to card visuals. 

 

csteffan07994_0-1712350486841.png

 

1 ACCEPTED SOLUTION

You could write some formula that returns blank unless something is selected in the slicers. Something like

if(isfiltered(table[column]) && isfiltered(table[column]) && isfiltered(table[column])),<your formula>,blank())

 

or read my article here about hiding visuals. 
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

2 REPLIES 2

You could write some formula that returns blank unless something is selected in the slicers. Something like

if(isfiltered(table[column]) && isfiltered(table[column]) && isfiltered(table[column])),<your formula>,blank())

 

or read my article here about hiding visuals. 
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Does this method still work? I have not been able to use measures as filters on cards or multi row cards.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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