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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
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
tresB
Champion III
Champion III

Try like:

If  Isnull(variable_test) then

     do something for not existing the variable...