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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
JoseAriel
Frequent Visitor

Replacing "(Blank)" display on Visualization Card with (Number) 0 or (Text) "All up to".

Good morning,

The other day Ashish gave me a solution to a problem "Housing NENA PastDue = Calculate(COUNT('NENA Tickler'[housing]),'NENA Tickler'[housing] = "PastDue")', However, if the column has no "PastDue"s, the Visualization Card displays the text "(Blank)". How can I modify the Calculate(Count( so that insteat of the text "(Blank)", the card displays either a numeric 0 or the text "All up to date"? Assistance would be greatly apporeciated.

 

Thanks

1 ACCEPTED SOLUTION

Hi @JoseAriel,

You're welcome. Please mark the right reply as answer, so more people will find solution easily.

Best Regards,
Angelia

View solution in original post

5 REPLIES 5
JSD
Employee
Employee

 This is a terrible solution and it doesn't work.

v-huizhn-msft
Employee
Employee

Hi @JoseAriel,

As I tested, please plus 0 at the end of formula as follows.

Housing NENA PastDue = Calculate(COUNT('NENA Tickler'[housing]),'NENA Tickler'[housing] = "PastDue")+0


Please feel free to ask if you have any other issue.

Best Regards,
Angelia

amazing solution! 

Thanks much. Learning sooo much from your skills.

Hi @JoseAriel,

You're welcome. Please mark the right reply as answer, so more people will find solution easily.

Best Regards,
Angelia

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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