Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
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