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: 
Not applicable

Writing Expression in Text Object

Is there a way to write an expression in the Text Object box. For example I created a Text Object and I wanted it to display Value = Sum(Field). i want it to calculate the Sum(Field) and it does not.

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello,

Do the following (it's valid for expression labels, button texts, object captions and so)

='Value: ' & Sum(Value)


Hope that helps.

View solution in original post

5 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi,

YOu have to write

= SUm(Field).

"=" sign is imp in text object

Not applicable
Author

thanks for your response. But is there a way i can get the word "Value" to show up as well? For example I want my output to have the word "Value" then display the Sum(field).

Miguel_Angel_Baeyens

Hello,

Do the following (it's valid for expression labels, button texts, object captions and so)

='Value: ' & Sum(Value)


Hope that helps.

Not applicable
Author

Thanks a lot.

kumarravi
Contributor III
Contributor III

You can use:

= 'Date : ' & =now()

  • ' ' & expression
  • & operation will act as a concatenator
Happy Learning 🙂 !