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

Announcements
Check out our latest virtual session where BARC Fellow, Doug Laney, highlighted the opportunities data monetization can offer enterprises. Watch here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can a variable be used as a reference to aother field or variable?

Is there functionality in Qlikview where a variable can be used as reference or pointer variable?

e.g

variable1 = 'Variable2'

Variable2='John'

Can I use variable1 as a pointer to contents of Variable2 to display 'John'?

1 Solution

Accepted Solutions
MayilVahanan

HI

Yes. you can

Try like this

variableName  values

vTest                = 3

vTest1               = vTest

Then refer in text box like =vTest1 gives 3

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

HI

Yes. you can

Try like this

variableName  values

vTest                = 3

vTest1               = vTest

Then refer in text box like =vTest1 gives 3

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.