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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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.

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

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.