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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using variable in a dynamic way

Hello
Experts,

 

I’m having
a problem with variable.

 

I have lots of variable like Var10, Var20, Var30, ect… and I want to use these variable in a dynamic  way:

 

10, 20, 30, and so on is a filed value (fieldx) and I’d like to use the field value define variable name and to find variable value.

  If field  value is 10, I want to use $(Var10),

  If field value is 20, I want to use $(Var20),

 

Is it   possible?

I’ve tried  with $(=’Var’&fieldx), but    ’Var’&fieldx  is correct, while $(=’Var’&fieldx)  doesn’t  work.

 

Can anyone help me?

Thank you

10 Replies
Not applicable
Author

Hi,

I solved using If statement.

Thank you

Cristina