Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
Can we use this if then elseif to create a column name my script?
IF a>0 then
'Current value
ELSEIF a<0 THEN
'Previous Value'
ELSE
'None'
END IF AS MyColumnName
Or
Do we have any alternative to do this comparison and form a column.?
Thanks
Vijay Sahu
Try this way?
IF(a>0, 'Current value', IF(a<0, 'Previous Value, 'None'))
Try this way?
IF(a>0, 'Current value', IF(a<0, 'Previous Value, 'None'))
Thanks anil..this helped me..