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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to Show a card as Blank/empty if nothing is selected

Hi Everyone,

 

I am using a card that shows the average of a column. It is interactive with the table that has the column. When i click on a item on the table the number on the card changes which is great and what I want. But when i am not selecting any item on the table it just shows the average of the entire column. 

My question is, is there a way to have the card show nothing/empty if nothing is selected from the table and only show value once something is selected on the table.

Below is an example : 

Clumn TextColumn Value
A1
B2
C3
D4

 

Currently, card is showing the average of 2.5 (average of entire Column Value) when nothing is selected. I want the card to show Blank/emplty if nothing is sleceted from the Table ablove and provide a card value when Something is selected in the table, for example if I select A & B together it shoud give the average of 1.5 in the card.

Thanks 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can use ISFILTERED() or ISCROSSFILTERED() functions to determine if the table is selected.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi, 

You can hide the blank value using a Conditional Formatting rule on the Callout Value. The rule is 'if blank' then select the same color as the card or canvas background. 

I have created a video tutorial on how to create the conditional rule: https://youtu.be/Xsmbfpa4oCA

biancagilly_1-1652137235851.png

 

 

v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can use ISFILTERED() or ISCROSSFILTERED() functions to determine if the table is selected.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

How does one even implement this? What is the context in which I use ISFILTERED()?

Anonymous
Not applicable

Thanks a lot @Toerstad  and @v-eachen-msft , for my case ISFILTERED worked for me and getting exactly what I wanted.

 

Much appreciated

Hi @Anonymous ,

 

Have you solved your issue by now? If you have, could you please help mark the correct answer to finish the thread? Your contribution will be much appreciated.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Toerstad
Advocate I
Advocate I

Hi.

You could create a measure like this, and add it to a card-visual. Then you could select one ore more rows from a table- or matrix-visual and it will return the average of the values of the selected rows.

AverageValue = 
IF(
    ISCROSSFILTERED('Table'[Column Text]),
    AVERAGE('Table'[Column Value]),
    ""
)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors