Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to use simple if statement if(B=' ','No Data','Data Available').But IF statement not working in qlikview.
try if(isNull(B),'No Data','Data Available')
try if(isNull(B),'No Data','Data Available')
Thanks
Try also
if( Len(B) = 0,'No Data','Data Available')
Regards
Anand
Hi
I am trying to do not equal to 'null '.But condition not working
if(isnull(B)<>' ','No Data','Data Available')
try this
if('B'<>' ','null','data') as new
Try this also
if(isnull(B) = -1,'No Data','Data Available') as Status
Regards
Anand
Does this not solve your issue?
if(isNull(B),'No Data','Data Available')
isNull(B) is a boolean and will return True or false. when evaluated.
Are you using it in script or in an expression?
I am using in script level
Your expression also working
BELOW EXPRESSION ALSO WORKING
If(B>0,'NO DATA','DATA')