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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

1 REPLY 1

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.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.