Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Variabel available or not

Hello qlikers 🙂 ,

Is there a option where I can question if a certian variabel is available or not.

For example

SET variable_test = 'something';

IF (variable_test NOT EXIST) (
 // Do nothing
)
// When variable_test  exist then do this
ELSE (
 // to something
 // script should be here
)
ENDIF

 

 

//SET variable_test = 'something';

IF (variable_test NOT EXIST) (
 // Do nothing
 // script should be here
)
// When variable_test  exist then do this
ELSE (
 // to something
 
)
ENDIF

 

Thank you in advance! 🙂

1 Reply
tresesco
MVP
MVP

Try like:

If  Isnull(variable_test) then

     do something for not existing the variable...