Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
Please suggest how to handle zero or null values in below measure
Thank you.
Solved! Go to Solution.
@Snagalapur you can set the zero values as blank like below expression
Sales =
var num = SUM(Table[Sales])
var den = SUM(Table[Gross])
var a = DIVIDE(num,den,0)
return
IF(a == 0, BLANK(), a)
Thanks,
Jai
Proud to be a Super User! | |
Use the DIVIDE function rather than the / operator.
@Snagalapur you can set the zero values as blank like below expression
Sales =
var num = SUM(Table[Sales])
var den = SUM(Table[Gross])
var a = DIVIDE(num,den,0)
return
IF(a == 0, BLANK(), a)
Thanks,
Jai
Proud to be a Super User! | |
Thank you for help.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.