Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for
Search instead for
Did you mean:
Creator III

## Plot Values Inside Segments and total in bar chart

Has anybody found the solution of showing values inside the 'Stacked Bar Chart' and also showing the Total on the top?

1 Solution

Accepted Solutions
MVP

You need to create two same expression

For 1st expression

TICK BOTH

Value on Data Points in expression tab

Plot values inside segments in presentation tab

For 2nd Expression

TICK BOTH

Value on Data Point in expression tab

Invisible

12 Replies
Master II

To put values in the bars stacked in your Bar Chart :

• For each expression, ,<tick> Values on Data Points
• On Presentation tab, <tick> Plot Values Inside Segments

For Total Value above:

• Create new expression to give Total Value number
• <tick> Line
• <tick> Values on Data Points
• <tick> Invisible

Regards.

Siva

Master III

Se this

Partner - Specialist

Go to expression tab: check "Values on Data points"

Go to presentation tab: check "Plot Values inside segment"

Luminary Alumni

Hi,

Please find attached file for solution, if there are less number of segments then values are displayed in the segments, otherwise the values are not displayed in the segments.

Regards,

Jagan.

MVP

You need to create two same expression

For 1st expression

TICK BOTH

Value on Data Points in expression tab

Plot values inside segments in presentation tab

For 2nd Expression

TICK BOTH

Value on Data Point in expression tab

Invisible

Not applicable

I tried your method, however it did not work. Can you load an eg. Thanks.

Not applicable

Hi Harleen,

I have two dimensions(Date/Month,Category) and a Measure(Value), how do you achieve the same result. Can't go with as many expressions as catgories like

sum({<Category={'1'}>}Value) - bar chart - values inside segments

sum({<Category={'2'}>}Value) - bar chart - values inside segments

sum({<Category={'3'}>}Value) - bar chart - values inside segments ... and so on

total expression as

sum({<Category={'1'}>}Value)+sum({<Category={'2'}>}Value)+sum({<Category={'3'}>}Value)+... - values on data points and invisble option

here If Category values are known & fixed, can go with your method. Is there anyway if Category values are dynamic??

Not applicable

This will only work when you have two expressions, but if we have more than 1 dimension will not work.

Not applicable

I thank you  sir you have helped me ALLOT, been struggling with this for almost 3 hours using a dual function but the damn thing just didnt want to show my % calculation.

THANK YOU!!!

Community Browser