cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Microsoft v-jiascu-msft
Microsoft

Re: how to change the <blank> on card visualization

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
Super User III
Super User III

Re: how to change the <blank> on card visualization

@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
Microsoft v-jiascu-msft
Microsoft

Re: how to change the <blank> on card visualization

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

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.