Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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...