Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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