cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nish2288 Regular Visitor
Regular Visitor

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
Highlighted
Stachu Super Contributor
Super Contributor

Re: Replace null value

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!

Proud to be a Datanaut!

Community Support Team
Community Support Team

Re: Replace null value

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.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 150 members 3,316 guests
Please welcome our newest community members: