Hi there,
I have subtotal1, subtotal2 columns in my table Test, I would like to sum(subtotal1) and sum(subtotal2) into one total based on the condition, if subtotal2=0 then sum(subtotal1) as total, if else then sum(subtotal2) as total, but all the sum need to return one total.
Please give me some direction?
Thanks
Don