Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Create a variable for Text Box 1
vText1 = YourTextExpression
Now Use the same in Text Box 2 expression
=vText1
or
=$(vText1)
Create a variable for Text Box 1
vText1 = YourTextExpression
Now Use the same in Text Box 2 expression
=vText1
or
=$(vText1)
No. But, what stops you to use the same expression in the textobject2 as in textobject1 ?
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
I was using an if condition to display something in textbox2 based on what is displayed in textbox1