Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

raz-datamind
New Contributor

using variables to change expressions

hi all,

a have a "Measure" field containing measure values: amount, quantity, etc'.

i want the user to choose the measure he want to see,

and have variables to hold the correct expressions.

so i made two variables with the expressions i need.

when i put $(vAmount) as the expression in my graph it works great.

but i want to have another variable to point to the correct variable, something like:

vMeasureString= 'v'&maxstring(Measure) so that vMeasureString point to vAmount or vQuantity and i'll get the respective expression in my graph.

I can i do this?

Thanks,

Raz

Tags (2)
1 Solution

Accepted Solutions
fosuzuki
Valued Contributor II

Re: using variables to change expressions

Yes!

Check the attached sample qvw.

Hope this helps

Fernando

2 Replies
fosuzuki
Valued Contributor II

Re: using variables to change expressions

Yes!

Check the attached sample qvw.

Hope this helps

Fernando

raz-datamind
New Contributor

Re: using variables to change expressions

thanks!

Community Browser