I am trying to calculate the difference between two columns, but sometimes one of the columns has NULL value and SQL is ignoring that.
Right now I am using this: if("source indicator" = 'Total OPEX', ("Eur Amount" -"EUR Target") * -1, "Eur Amount" -"EUR Target") as "Diff."
Is there any other way to calculate this (please note that OPEX value) and get the expected results?
Thanks
ifis non standard...