Forum Discussion
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?
The values "%" showed are a calcutated column of two measures.
6 Replies
- bcdobbsCommunity Champion
Can you post the measures?
- sokgSolution Supplier
if(isblank(yourmeasure),1,youmeasure)
Hopefully this is what you are looking for!
- bcdobbsCommunity 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.
- AnonymousNot applicable
Hi Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Table2 = DISTINCT('Table'[Class])2. Create a relationship between the two tables.
3. Create measure.
Measure 2 = IF( [Measure] = BLANK(),1,[Measure])4. Result:
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
- AnonymousNot 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.
- AnonymousNot 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.