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

How can I show Legend Total in Pie Chart

Hello everyone,

How can I show the total in Legend area? Or I have to create another object to show the total.

Thanks in advance,

Deng

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

Sure,

You can write an expression there like this:

='Total '& count( ID)

(you can replace count(ID) by any expression you want)

Rgds,

Erich

View solution in original post

5 Replies
erichshiino
Partner - Master
Partner - Master

It does not go to the legend area, but you create a text label on the chart.

Go to chart properties -> presentation

Include an expression in 'Text in Chart'.

Go back to the chart, you should see your text somewhere.

Select the chart and Hold Ctrl+Shift to be able to move this label.

Regards,

Erich

Not applicable
Author

Thank you, Erich.

Can I add a number total after the label?

erichshiino
Partner - Master
Partner - Master

Sure,

You can write an expression there like this:

='Total '& count( ID)

(you can replace count(ID) by any expression you want)

Rgds,

Erich

prieper
Master II
Master II

You simple have to add your formula or compose a textstring, like

='Total sales = ' & NUM(SUM(Sales), '#,##0$')

HTH

Peter

Not applicable
Author

Thank you Erich and Priper. I appreciate your help.