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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Checking Length of Field

I am trying to set an indicator based on values in a field.  I have tried all of the following with no luck.  Any ideas?

Thanks
Thom

If (IsNull(KVGR4),1,0) as Organic

If Len(KVGR4 > 0,1,0) as Organic

If (Len(Trim(KVGR4) > 0),1,0) as Organic

11 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Based on what condition you going to separate customers as Organic and Accquired?

Celambarasan

tmumaw
Specialist II
Specialist II
Author

Thanks everyone for your responses, but finally got it to work using this: IsNum([Customer Acquisition]) as Organic.  It made the field either 0 or -1.