Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good day,
I want to convert this piece of code to Qlikview, please assist:
CASE when TERM IN (0,NULL) then ''X'' |
Hi,
Something like this:
If(TERM = 0 or IsNull(TERM), 'X')
Hope this helps.
You could also do this:
If( Match( TERM , 0 , Null() ) , 'X' )
try this
=if( len(trim(TERM))=0,'X') as TERM
FOR EACH Value in '',0,Null(),'0',' '
Let TERM = IF(Len(Trim('$(Value)'))>0,'$(Value)',0);
SWITCH '$(TERM)'
CASE 0
Trace switch trapped;
DEFAULT
Trace no switch;
END SWITCH
NEXT
Thanks everyone!!!