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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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