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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Access Text of one text object from another text object

Hi

I have two text objects. I would like to access the text displayed in one them from the second one. For example, doing something like

TextObject2 = TextObject1.text

Is there a way to do this in qlikview?

Thanks

Hasnaa

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Create a variable for Text Box 1

vText1 = YourTextExpression

Now Use the same in Text Box 2 expression

=vText1

or

=$(vText1)

View solution in original post

4 Replies
MK_QSL
MVP
MVP

Create a variable for Text Box 1

vText1 = YourTextExpression

Now Use the same in Text Box 2 expression

=vText1

or

=$(vText1)

tresesco
MVP
MVP

No. But, what stops you to use the same expression in the textobject2 as in textobject1 ?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

It's not possible to reference values in other objects. What you can do is put the expression that returns the value in a variable and use that variable in both text objects:

vMyVar: Hello World

TextObject1: =vMyVar

TextObject2: =vMyVar


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

I was using an if condition to display something in textbox2 based on what is displayed in textbox1