Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all
Kindly advise how to change quantity from null to zero in scrip, so that total sales equals $0.00 instead of '-' (null) ?.
Total sales = Quantity x Unit Price = 0 x $5.00 = $0
Total sales = Quantity x Unit Price = '-' x $5.00 = '-' (null value)
I have tried the following in script but not working :
if(Quantity = 0, 0, num#(Quantity,'#') as Quantity,
Thanks, Tracy
For the described scenario you could apply: alt(Quantity, 0) as Quantity
Hi , use ALT function of replacing null values in isnum replace.
use coalesce function of replacing num values in istext replace.