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
Mikhail_Lourie
Frequent Visitor

Substitute NULL values on 0 in Matrix visulisalization

Hi all! 

I have to make a Matrix Duration Exposure. I've made bins for Duration creating Custom Column. The values of a matrix are average  Duration values in % that fit each bin. I need to substitute blank "cells" of a Matrix on 0.

 

I already tried to make Py visualization but with no success. Made the desired result in Jupiter Notebook, but it can't be loaded as visualization since it is a table

 

Any ideas on how to do it?

 

2020-06-29_1434.png

 

@dax, @Desktop

1 ACCEPTED SOLUTION
Anonymous
Not applicable
4 REPLIES 4
ibarrau
Super User
Super User

Hi. This might be a question for Desktop or dax forum. It's not the best practise to transform blanks but if that what you need you can create a measure like this:

AVG_Measure = AVERAGE(Table[Minutes_duration]) + 0

Adding the +0 at the end of the measure will change the blank values to 0 and won't modify any other value.

Hope this helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

It doesn't help ... 

 

The reason is that we don't have such values in a Custom Column (if there are no values that get into the current bin)

 

We need to put 0 for column items that are not in the Custom Column values but could be according to combinatorics rules

Anonymous
Not applicable

Thank you very much @Anonymous .

You've made my day!!!:)

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.

Top Solution Authors
Top Kudoed Authors