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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show label at the side of expression value in pie chart?


Hi,

I have expression as below in pie chart

=Sum(Sales)

I want to show pie chart label at the side of value as in attached. I know to do this using text object. I don't wnt to use text object. Is there any way we can do this with out text object?

Thanks.

19 Replies
Not applicable
Author

please see attached.

robert_mika
Master III
Master III

Use Dual function in your expression:

Dual(YourField Name&' - '&Sum (Sales),Sum (Sales))

30-Apr-15 11-47-03 AM.jpg

Not applicable
Author

Thanks. I have used below it is not working.

Dual('Salessold'&' - '&Interval(Interval#(Sum(Sales), 'ss'), 'hh'),Interval(Interval#(Sum(Sales), 'ss'), 'hh'))

Sorry actually I forgot to mention. actually my expression is

Interval(Interval#(Sum(Sales), 'ss'), 'hh')

and the label I need to use is Salessold

please help.

robert_mika
Master III
Master III

Take out the  single quote from the Salessold.

Try this

Dual(Salessold &' - '&Interval(Interval#(Sum(Sales), 'ss'), 'hh'),Interval(Interval#(Sum(Sales), 'ss'), 'hh'))

Not applicable
Author

Thanks. when  I am trying this it is showing error in expression and bad filed names.

do I need to make  any change

robert_mika
Master III
Master III

Could you attached your file or picture with the error?

Anonymous
Not applicable
Author

Hi Amelia,

  You can add you expression in "Text in Chart" option which is available under Presentation tab. So there will not be a external text box needed

-Jay

Not applicable
Author

see attached . this I have in another file. The same I need to used with above mentioned Sales column

Not applicable
Author

Thanks. I tried this. but I am not getting alignment. I need text in middle at the bottom right corner. would it be possible?