I have a sum in a Saved Search for Column A + Colu...
# general
e
I have a sum in a Saved Search for Column A + Column B. It works OK, except when column A or B is empty, in that case the result is also empty instead of casting the empty value as zero. How can I handle that case?
s
You can use either NVL or COALESCE in a formula to force empty values to be treated as zeroes, for example:
NVL({column_a}, 0)
or
COALESCE({column_b}, 0)
e
Perfect!!!
Thanks, @scottvonduhn
n
how did you sum Col A + Col B?