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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ChenChristyYu
Helper II
Helper II

how to change the <blank> on card visualization

Hi guys,

 

I am using a card visualization to show the count of rows, but some tables simply do not have any qualified row. Is there a way I can have it shown as 0 instead of <blank>. BTW, the dropdown is frozen. Can someone help on this?

visual level filter.PNG

 

Thanks so much.

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @ChenChristyYu,

 

Seems you added the column in the filed directly. Maybe you need a measure like this:

Measure =
IF ( ISBLANK ( COUNT ( Table1[DATE] ) ), 0, COUNT ( Table1[DATE] ) )

Best Regards,

Dale

Community Support Team _ Dale
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-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @ChenChristyYu,

 

Seems you added the column in the filed directly. Maybe you need a measure like this:

Measure =
IF ( ISBLANK ( COUNT ( Table1[DATE] ) ), 0, COUNT ( Table1[DATE] ) )

Best Regards,

Dale

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

@ChenChristyYu Be cautious with this because it could impact the calculations in other areas in unwanted ways, but you can just throw a "+0" at the end of the equation in the measure and it should produce a 0 instead of blank.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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