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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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