Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variable's dimension value in expression's chart tab

Dear all,

I have loaded 4 dimensions with numeric names [1],[2],[3],[4] and one variable (v1) and it's allowed values are the numbers (1,2,3,4). I have a chart object and I need the definition on the expression tab to use the value of this variable.

For example :

If v1=2

I want the expression to return the dimension [2]. I tried using the following definition  =$(=v1) but it is not correct. Can anyone help me please?

Thank you in advance

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Square brackets are important in this case, Try like:

=$(='['&v1&']')

View solution in original post

2 Replies
tresesco
MVP
MVP

Square brackets are important in this case, Try like:

=$(='['&v1&']')

Not applicable
Author

Yes it worked. Thank you very much mr tresesco for your valuable time