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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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 !! 🙂

Labels (1)
2 Replies
Anonymous
Not applicable
Author

Try this

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

Let chknbr = len((chknbr1));

MarcoWedel