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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.