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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
andreapalomino1
New Member

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
v-yangliu-msft
Community Support
Community Support

Hi  @andreapalomino1 ,

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.

 

 

v-yangliu-msft
Community Support
Community Support

Hi  @andreapalomino1 ,

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

 

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!

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
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.