Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello everyone
Using the Measure "Mora", I created the following Matrix.
Mora = sum(Pre_Rentabilidad[Saldo 6])/sum(Pre_Rentabilidad[Imp Cta 6])
For those cells where I get "NaN", I'd like to get nothing (null).
I tried a variant for the Measure:
Mora = IFERROR(sum(Pre_Rentabilidad[Saldo 6])/sum(Pre_Rentabilidad[Imp Cta 6]);"")
to avoid getting NaN. However, doing this I can't keep the percentage format for the values.
I also tried:
Mora = IFERROR(sum(Pre_Rentabilidad[Saldo 6])/sum(Pre_Rentabilidad[Imp Cta 6]);0)
But I get 0%, when I should actually get null cells.
Could you help me keep percentage format for the values and nothing in those cells where the division is NaN?
Thanks in advance.
Solved! Go to Solution.
Mora = IFERROR(sum(Pre_Rentabilidad[Saldo 6])/sum(Pre_Rentabilidad[Imp Cta 6]);BLANK())
Mora = IFERROR(sum(Pre_Rentabilidad[Saldo 6])/sum(Pre_Rentabilidad[Imp Cta 6]);BLANK())
Thanks a lot!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 40 | |
| 37 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 85 | |
| 70 | |
| 37 | |
| 28 | |
| 27 |