Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in the text box

Hi Friends,

Need help in the Text box object, the expression, as I trying to display if the "COD" has no value it should print "NIL".

But the following expression works but prints as "0", can you help me how to print as Nil if its 0

=If(Len(Trim([COD]=0)),Count({<[COD]={' '}>}[COD]),'Nil')

Regards

10 Replies
Not applicable
Author

if(isnull(COD)=-1,'nil',0)