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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

empty variable

How do I check in the load script if a variable is empty?

if isnull($(S)) then

.....

Doesn't work.

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Hi,

The sentence is:

If IsNull(S) then

You can debug my attached file and verify the sentence.

Best regards.

View solution in original post

3 Replies
Miguel_Angel_Baeyens
Support
Support

Hello,

Try

If (Len($(vVar)) = 0) Then


Not applicable
Author

still doesn't work.

This is the error I get:

Error in expression:
Len takes 1 parameter If (Len() = 0) Then

Not applicable
Author

Hi,

The sentence is:

If IsNull(S) then

You can debug my attached file and verify the sentence.

Best regards.