Skip to main content
You can succeed best and quickest by helping others to succeed. Join the conversation.
Showing results for 
Search instead for 
Did you mean: 

Variable within a variable within script

Hi all, 

I have something like 50 different variables which I would like to have dynamic in my script:




So my question is is something like that even possible in Qlik Sense: 


where vVariations can be Name, Class, Size and etc.? And if yes - how is the correct scripting? 


2 Replies
Creator III
Creator III

You could try something like this: $(vMetric$(=vVariations)). But haven't tried it myself

If you found help, mark the correct answer and give some likes to ALL contributors, that tried to help.
MVP & Luminary
MVP & Luminary

In general it's possible to nest variables. But it depends on where and how the variables are defined and where and how the variables are called and which content is included - to see if it's possible respectively how much efforts and complexity are needed. This means using variables extensively may not always make things easier else you may become the opposite effect.

- Marcus