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
Anonymous
Not applicable

Replace cell value in Power BI Matrix Visual cell value

I have a matrix visual as shown below. When i drag my values inside this visual , i see that some of the cells i.e

A->feb

A->mar

are blank as shown in the image below (current output) . This is not a measure so i cannot add 0 as shown in many other example. I created a separated column with the following function  

BLANK = IF(ISBLANK('Table'[Value]),"not scan",'Table'[value])

but its not working. I want the matrix visual to show me the values as shown in the image expected output. 

How can i achieve it?

 

 

matrix_table.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I managed to solve this problem by refering to this link, which was nicely explained and the example that was attached helped a lot. 

 

How to replace empty cells in matrix with another ... - Microsoft Power BI Community

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I managed to solve this problem by refering to this link, which was nicely explained and the example that was attached helped a lot. 

 

How to replace empty cells in matrix with another ... - Microsoft Power BI Community

mariussve1
Solution Supplier
Solution Supplier

Hi,

 

Strange, can you please try this:

 

Measure =

Var scan = SELECTEDVALUE ( Table[value] )

Return
IF ( scan = BLANK (), "not scan", scan )

Anonymous
Not applicable

@mariussve1  Thank you for you kind reply. I tried your solution but it did not work. I think the problem is how to tell the formula that the cell between  (A-->F) within the matrix is empty? Another thing is value is Text and not numeric so not sure if the measure will work.

 

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.