Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression

I have an expression for sum(sales) how to display in the caption such that it shows ''Total sales=sum(sales). in place of sum(sales) i should see the value.

eg: Total Sales = 2012

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Try:  = 'Total Sales = ' & sum(sales)


talk is cheap, supply exceeds demand

View solution in original post

8 Replies
Gysbert_Wassenaar

Try:  = 'Total Sales = ' & sum(sales)


talk is cheap, supply exceeds demand
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Do you mean the display in the hover pop-up? What kind of object (chart) do you hve the expression in?

-Rob

Not applicable
Author

Hi Gysbert,

Thanks for that. Now it is working

Not applicable
Author

Hi Rob ,

I am using Pie chart .

We have different type s of representation for each type of chart? in my case as Gysbert said  = 'Total Sales = ' & sum(sales) is working . Can you please tell me , what if i use different charts

MayilVahanan

Hi

For any chart, u can use like this

= 'Total Sales = ' & sum(Sales)

& is used for concat the values

hope it helps

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

It's the same caption expression for any chart type. I was just trying to clarify if the question was about the caption or hover pop-up.

Don't forget to mark Gysbert's answer correct.

-Rob

Not applicable
Author

Hi Mayil,

Thanks for the information.

Not applicable
Author

Hi Rob ,

Thanks for the information