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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
amars
Specialist
Specialist

How to add a total line for a stacked bar chart.

Hi all,

I have a bar chart which is stacked, I need to add a line which should show the Total for the stack. But when I add a line to a combo chart the stack features does not remain & becomes grouped. What should I do to show them as stacked with a total line for each stack bar only.

I also tried with a split axis feature to show the line on the same axis left(bottom) but also the same thing is happening.

The expression that I used for the total is Count(Total value) like that. Please suggest what should I do? Thanks in advance.

Amar

1 Reply
qliksus
Specialist II
Specialist II

Add one more expression like Column(1)+Column(2) and check the line option it will show the total for each stacked

bar as a line