Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
manisha10
Contributor III
Contributor III

One column positive value above x-axis and 2nd column positive values below x-axis in a stacked bar chart - Qlik sense

Hi All!

I have a table with columns Inflow and Outflow.  I want to display Inflow values above x-axis and Outflow values below x-axis in a stacked bar chart. Both are positive. 

Table:

TimeforwardCurrentInflowOutflow
JanAA255801
JanAB300424
JanAC444964
JanBA121181
JanBB500966
JanBC600409
JanCA337508
JanCB700775
JanCC899327

 

Desired Output:

manisha10_0-1631513844937.png

Qlik Sense Business 

3 Replies
rubenmarin

Hi, I think you will need to split Inflow and outflow values to show as different dimensions, and use color setting to visually merge in one dimension.

Also you can use tooltip section to show all values positive.

Sample attached.

manisha10
Contributor III
Contributor III
Author

can you please explain the step by step process with code? I'm unable to access the file. 

rubenmarin

Hi, you can import the app to sense so you can see how it's done. If you are using qlik desktp you only need to drag the app or copy it to Documents\Qlik\Sense\Apps.

When opened check the script to see how the values are splitted.

In chart properties check the dimension and expression, and in the apparance section the color and tooltip setting