Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to write the following in qlikview expression:
if NettStock is NULL then Null
Else
if(NettStock< sum([OutStanding Qty]),NettStock-sum([OutStanding Qty]),NettStock)
Hi Suveccha
You can ALT function for this..
Hi,
if(isnull(NetStock) or len(trim(NetStock))=0,'Null',YourExpression)
Regards
try like this:
if (len(trim(NettStock))=0 ,null(),
if(NettStock< sum([OutStanding Qty]),NettStock-sum([OutStanding Qty]),NettStock))
=if(len( trim(NettStock))=0,'Null',if(NettStock< sum([OutStanding Qty]),NettStock-sum([OutStanding Qty]),NettStock))
Hi,
Try like this
=if(Len(Trim(NettStock)) = 0, 'Null',
if(NettStock< sum([OutStanding Qty]),NettStock-sum([OutStanding Qty]),NettStock))
Hope this helps you.
Regards,
Jagan.