Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!