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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Assign text object value to another

Hi,

is this possible to assign one text object to another text object? through expression?

5 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can create a Linked Copy and then a change in one will be reflected in the other.

You can't reference the value of a text object. Best you can do is repeat the same expression in another object.

-Rob

MarcoWedel

You could assign your expression to a variable and use this instead in both text boxes.

regards

Marco

jagan
Partner - Champion III
Partner - Champion III

Hi,

Assign the value in the Text Object to a variable and use the same variable in the two Text Objects.

Example: vSampleVariable = 'Some sample value'

or

vSampleVariable = Today()

Now use this variable in text object like below

=vSampleVariable

Hope this helps you.

Regards,

Jagan.

engishfaque
Specialist III
Specialist III

Dear Jagan,

Is this possible first calculate the values by using expression in text object then assign to any variable or straight table fields without using macros?

Kind regards,

Ishfaque Ahmed

jagan
Partner - Champion III
Partner - Champion III

Hi Ishfaque,

It is not possible to get value of text object and assign it to variable without using macro, instead you can use the same expression in variable and use that variable value in Text object.

Regards,

Jagan.