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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

variable in table and evaluate

I havd a table which contains two fields:kpi_name and variable_name

for example

kpi_name   , variable_name

1               , vFormula1.Expr

2               , vFormula2.Expr

is it possible to create a pivot with kpi_name as dimension and variable_name as expression. BUT the expression should also be evaluated

=$(=variable_name)

This will give me the right expression for each kpi_name, but it's not evaluated

Thanks in advanced

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If you have a field named variable_name that contains the names of variables that contain expressions you can use the variable_name field in expressions like this $($(=variable_name)) to evaluate the expression in the variable with the same name as the selected value of variable_name.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If you have a field named variable_name that contains the names of variables that contain expressions you can use the variable_name field in expressions like this $($(=variable_name)) to evaluate the expression in the variable with the same name as the selected value of variable_name.


talk is cheap, supply exceeds demand
amien
Specialist
Specialist
Author

Tnx