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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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