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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
kinjal1645
Creator
Creator

Bar chart

Hi,

I have following bar chart:

Capture.PNG

M-Type is sum of M-Type and C-Type.

S-Type is sum of category S-type and M-Type.

This is something implicit and I don't know how to show this on chart.

Kindly help on how to modify this chart to indicate that M-Type has C-Type, S-Type has M-Type.

Thank you!

1 Solution

Accepted Solutions
MarcoWedel

Hi,

example attached:

QlikCommunity_Thread_296913_Pic2.JPG

hope this helps

regards

Marco

View solution in original post

8 Replies
shiveshsingh
Master
Master

Can u share ur app and expected o/p?

ychaitanya
Creator III
Creator III

Hey ..

Can you try as below .. if i understood your requirement.

TEMP:

Load * INLINE

[

Parent_Type,Type

M_Type,M_Type

M_type,C_Type

S_Type,S_type

S_Type,M_Type

C_Type,C_Type

];

Attach this TEMP Table to your FACT/DIM table where you've Type

Then on the UI, draw the bar chart with Parent_Type as 1st DIM and Type as 2nd DIM

then Sum(Value).

Hope this Helps.


Thanks

CY

MarcoWedel

maybe you could stack the bars like this:

QlikCommunity_Thread_296913_Pic1.JPG

hope this helps

regards

Marco

kinjal1645
Creator
Creator
Author

Thanks Marco

This looks good!

Can you let me know how to achieve this?

MarcoWedel

Sure, can you post a sample application including some data and your expressions to demonstrate?

kinjal1645
Creator
Creator
Author

marcowedel

I have attached sample application with data. It has one table and is not connected to other tables in my DB model.

MarcoWedel

Hi,

example attached:

QlikCommunity_Thread_296913_Pic2.JPG

hope this helps

regards

Marco

kinjal1645
Creator
Creator
Author

Thanks Marco!