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! Request now

Reply
Anonymous
Not applicable

Trying to get card visual to display nothing instead of Blank

I have a Card visual on my page, showing the total tax amount. It currently says (Blank) when there is no value to display.

Instead of Blank, I would like it to display nothing. I tried applying the following measures to the Card View as a filter:


    Replace Blank With Nothing = IF(ISBLANK(SUM ( YearlySales[Taxes] )),"",SUM ( YearlySales[Taxes] ))

    Replace Blank With Nothing = IF((ISBLANK(SUM ( YearlySales[Taxes] )) || (SUM ( YearlySales[Taxes] ) = 0)),"",SUM ( YearlySales[Taxes] ))

 

But it still says Blank when there is nothing to display. Any suggestions?

4 REPLIES 4
Anonymous
Not applicable

I was incorrectly trying to apply the measure as a filter, instead of a value, and this is why the measure was not working

Anonymous
Not applicable

[Base Measure] = SUM( YearlySales[Taxes] )

[Measure For Card] =
	COALESCE(
		[Base Measure],
		""
	)
	
// Bear in mind that if a measure
// returns a numeric BLANK(), its value is
// treated as 0, so this is true
// [measure] = 0. You don't have to
// check for many conditions as you do
// in you second measure.

Best

D

harshnathani
Community Champion
Community Champion

Hi @Anonymous 

 

Try

 

 Replace Blank With Nothing = IF(SUM ( YearlySales[Taxes] ) = BLANK(),0,SUM ( YearlySales[Taxes] ))

 

https://community.powerbi.com/t5/Desktop/Make-Card-Visual-show-0-not-Blank/m-p/403353

Regards,

HN

Anonymous
Not applicable

This did not work either

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.