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: 
Anonymous
Not applicable

Qlikview :- Using Len function and getting an error/Null values

I have the following line of codes in the load script :-

Set chknbr1 = 'D330836','D329537';

Let chknbr = len($(chknbr1));


Then, I am getting chknbr <NULL>



If I write like the following :-

Set chknbr1 = 'D330836','D329537';

Let chknbr = len('$(chknbr1)');


Then I am getting the following error :-


Script line error:

Let chknbr = len('''D330836'',''D329537''')


Any help would be highly appreciated !! 🙂

2 Replies
Anonymous
Not applicable
Author

Try this

Set chknbr1 = ''D330836','D329537'';

Let chknbr = len((chknbr1));

MarcoWedel