cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors