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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
swain
Frequent Visitor

Show custom value on card visualization when nothing is selected in slicer

Hello,

 

I've got a card visualization and using different slicers to display different values on the card.

Would it be somehow possible to display a custom value on the card when nothing is selected from slicer? 

It also would help if it would display (Blank) when nothing is selected.

 

I've looked around, but there seems to be no explanation on this with card visual.

 

Also any workarounds are welcome (dummy filtering, hiding visual somehow if nothing is selected, etc.)

 

Thanks in advance!!!

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @swain,


I've got a card visualization and using different slicers to display different values on the card.

Would it be somehow possible to display a custom value on the card when nothing is selected from slicer? 

It also would help if it would display (Blank) when nothing is selected.


 

You could create a measure to get this.

 

For example, you could create the measure below to get that when you select the value in slicer, the card visual will show the value. Otherwise, the card visual will show Blank().

 

Measure =
IF (
    ISFILTERED ( O365LicenseReport[order_type] ),
    MAX ( 'O365LicenseReport'[order_type] ),
    BLANK ()
)

 

Untitled.png

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
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

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @swain,


I've got a card visualization and using different slicers to display different values on the card.

Would it be somehow possible to display a custom value on the card when nothing is selected from slicer? 

It also would help if it would display (Blank) when nothing is selected.


 

You could create a measure to get this.

 

For example, you could create the measure below to get that when you select the value in slicer, the card visual will show the value. Otherwise, the card visual will show Blank().

 

Measure =
IF (
    ISFILTERED ( O365LicenseReport[order_type] ),
    MAX ( 'O365LicenseReport'[order_type] ),
    BLANK ()
)

 

Untitled.png

 

Best Regards,

Cherry

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

I finally got it working. 

 

At first it didn't work for me, but it turned out that I had some hidden filters already on. Now that I got the relationships cleared, everything works as it should!

 

Thank You @v-piga-msft

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.

Top Solution Authors