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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
TechR21
Helper V
Helper V

Replacing blank value in card visual

Hi,

 

Im using a card visual to see the total numbers of a particular column. In the field of the visual Im using a simple count of id's, then I use a filter on the visual, based on the status of the id.

 

These numbers will change each week, so Im using the same filters, but when there is no number to shown (meaning no records will make it through the filtering in that week, I see a blank value.

TechR21_0-1669899431151.png

 

How can I resolve this so that a "0" wil show instead for these columns when needed?

 

1 ACCEPTED SOLUTION

In your questions you mentioned , " In the field of the visual Im using a simple count of id's", so create measure for that measure = Count(ID) + 0 , and use that in Card visual, so when there is blank vlaues, it will 0 instead of blank

View solution in original post

3 REPLIES 3
RashmiP
New Member

You can create meaure and Return the measure value + 0 for eg = > Return Countrows(Table1) + 0

Im not sure how to use this measure then.. I cant use it as a filter, and it doesnt count the number of the column that I want

In your questions you mentioned , " In the field of the visual Im using a simple count of id's", so create measure for that measure = Count(ID) + 0 , and use that in Card visual, so when there is blank vlaues, it will 0 instead of blank

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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