Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I open setting menu>variable overview, I would like to set a set of values into one variable.
For example:
VarTest: 1,2,3
How can I get it?
Thanks.
Hi,
If the Values are being taken from a field then you can use Concat function of Qlikview .
Thanks for your answer, I would like to set some static values for it. How can I achieve it?
Hi Isaac,
If the values you want to set are numeric, you can set them in the Variable Overview as you already did. If they are strings, you have to quote them
'A','B','C'
Then you can retrieve them in your charts using Pick()
Pick(1, $(variableName))
will return "A".
Bear in mind that there are not "arrays" as such in QlikView.
Hope this helps.
Hi,
But when I set it as 'A','B','C' in Variable Overview , there is an error message alerts: garbage after "," .
Values will be stored anyway. I presume that it's something related to the editor, since you can store anything in a variable.
Regards.