Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikwiz123
Creator III
Creator III

Sum of all values as third bar in Bar Chart

I have a field Category which has A and B as values and I am performing a count on another field that has values linked to these A and B values.

In a bar chart, when I Category as Dimension, I am seeing two bars, each for A and B and values on it. How do I show third bar which is sum of values A and B? For example, if A is 20 and B is 30, I need to show third bar which is sum of A and B, i.e; 50

1 Solution

Accepted Solutions
sunny_talwar

May be add a total bar from Dimension Limits tab

View solution in original post

6 Replies
sunny_talwar

May be add a total bar from Dimension Limits tab

qlikwiz123
Creator III
Creator III
Author

How did I miss this small detail that does the job Thanks a lot Sunny Always ready to help

qlikwiz123
Creator III
Creator III
Author

What if I want the numbers to be shown as Percentage?

sunny_talwar

You mean like 40%, 60% and 100%? May be like this

Sum(Measure)/Sum(TOTAL Measure)

qlikwiz123
Creator III
Creator III
Author

Yes Sunny. For some reason, the values are not correct, maybe because Field 'Category' has String Values - A and B? Don't think so. Anyway, I created an empty Expression and Checked ' Relative'. Now I see the percentage. Thank you so much for your quick help Really appreciate it

sunny_talwar

Super