Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Announcements
The #1 reason QlikView customers adopt Qlik Sense is a desire for a modern BI experience. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator III
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
Highlighted
MVP
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

View solution in original post

12 Replies
Highlighted
Master II
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

Highlighted
Master III
Master III

Se this

Highlighted
Partner
Partner

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

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

Highlighted
MVP & Luminary
MVP & Luminary

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.

Highlighted
MVP
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

View solution in original post

Highlighted
Not applicable

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

Highlighted
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??

Highlighted
Not applicable

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

Highlighted
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!!!