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
I need to sum two columns (WHM Gas + WHM GL) that contain blanks. I do not want to replace the blanks with zeros, but if a row contains a blank I need to treat it as zero and return the value from the other column:
Solved! Go to Solution.
@young351 This works (not sure if it is the prettiest way to do it):
Sum WH GAS and GL =
VAR
column11 = IF(ISBLANK(Sheet1[WHM Gas]), 0, Sheet1[WHM Gas])
VAR
column22 = IF(ISBLANK(Sheet1[WHM GL]), 0 , Sheet1[WHM GL])
RETURN
column11 + column22
@young351 This works (not sure if it is the prettiest way to do it):
Sum WH GAS and GL =
VAR
column11 = IF(ISBLANK(Sheet1[WHM Gas]), 0, Sheet1[WHM Gas])
VAR
column22 = IF(ISBLANK(Sheet1[WHM GL]), 0 , Sheet1[WHM GL])
RETURN
column11 + column22
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.