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

Replace null value

In the table, i am displaying calculted measure,when measure value is null it display blank.

I wanted to display "-" instead of blank.

I am using ISBlank function to check values,if its blank then replace it with "-" and working as expected but the

problem is iteraction is not working. When i click on any item type in second table,value is not getting filtered on 1st table due to this ISBlank funtion.

 

Any idea how to fix this?

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @nish2288

 

Based on your description, it seems that you have more than one table. Do you create the relationship of the two tables?

 

If it is convenient, could you share your table structure?

 

I would appreciate it if you could share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Stachu
Community Champion
Community Champion

you can try with FORMAT function

Measure = FORMAT(SUM('Table'[Value])+0,"#,##0.00;;-")

it adds 0 to the regular measure to turn BLANKS into 0s, and then applies custom format to 0s as '-'
the measure type is text afterwards, so not sure if it's gonna work for you



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

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.