Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to replace empty cells in matrix with another value?

Grettings,

 

I'm trying to fill this empty cells on this table with the value "100%". I've already applied "ISBLANK" and "+0" at the end of the formula. Is there any other way to fill these cells? 

 

 picturee.jpeg

 

The values  "%" showed  are a  calcutated column of two measures.

 

 

6 REPLIES 6
Anonymous
Not applicable

Hi  @Anonymous ,

According to your screenshot:

Summarzie generates a table data, it is impossible to generate a single value.

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Best Regards,

Liu Yang

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

 

 

Anonymous
Not applicable

Hi  @Anonymous ,

I created some data:

vyangliumsft_0-1639453874534.png

Here are the steps you can follow:

1. Create calculated table.

Table2 =
DISTINCT('Table'[Class])

vyangliumsft_1-1639453874535.png

2. Create a relationship between the two tables.

vyangliumsft_2-1639453874537.png

3. Create measure.

Measure 2 =
IF(
    [Measure] = BLANK(),1,[Measure])

4. Result:

vyangliumsft_3-1639453874542.png

 

Best Regards,

Liu Yang

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

 

Anonymous
Not applicable

Hi Liu, 

 

When I tried to apply it, it shows the error "A single value for column '%' for table DB_Disponibilidad cannot be determinated.

 

This is the formula for the column %. 'If function' were quoted just for try another way but it's the main formula.

Screen Shot 2021-12-14 at 16.22.29.png

sokg
Solution Supplier
Solution Supplier

if(isblank(yourmeasure),1,youmeasure)

 

Hopefully this is what you are looking for!

bcdobbs
Community Champion
Community Champion

Nothing wrong with that measure - it's exactly what I've just done in a demo file.

 

Slightly confused by "The values  "%" showed  are a  calcutated column of two measures." Can you elaborate as I think issue will be how other things are being combined.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Community Champion
Community Champion

Can you post the measures?



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.