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
jts_
Helper I
Helper I

HELP! Avoid 0 to be ISBLANK()=True: Dynamic Title/ ISBLANK()/ What If Parameter

Hi!
I would like to get some advice on writing a dynamic DAX logic with ISBLANK() and What-if Parameters.

As the attached picture shows- I've created a What-If parameter, "Parameter-CoIns.". When there is no value entered (null), the preferred result would be showing a message of "Blank Value".
Blank3.PNG

 

 

 

 

 

 

 

 

 

 

 

 

However, this parameter can be as minimum as 0. ISBLANK() will treat it as true, and it ended up will show the Blank Value message, even though the parameter has a value entered already.
Blank.PNG


 

 

 

 

 

 

 

 

 

 

 



-When a value is entered, the dynamic title shows the entered value.
The preferred result would be -- when 0 is entered, the value at the bottom will show 0.

Blank2.PNG

 

Is there any way I can work around it?

Thank you in advance!

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @jts_ 

According to your description, when you enter 0 , it shows the blank.

I test in my side, i find that when you first enter 0 , it will not identify the value .

You need to firest enter other number like the "0.1" , then you enter 0 , it will show correctly:

vyueyunzhmsft_0-1669253690253.png

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @jts_ 

According to your description, when you enter 0 , it shows the blank.

I test in my side, i find that when you first enter 0 , it will not identify the value .

You need to firest enter other number like the "0.1" , then you enter 0 , it will show correctly:

vyueyunzhmsft_0-1669253690253.png

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

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.