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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Graph issue, Stacked bar with secondary dimension

Hi,

I am new to Qlikview and need some help. Please see the attached image.

I would like to know if its possible to show 2 bars on my graph per month/year, one is a stacked collection of all the "Source" values apart from the "Budget" value, this i would like in a separate bar shown to the side on each month.

I have tried using multiple dimensions with IF statements to restrict the values but i just cant get it to do what i want. I also tried multiple expressions with If statements, this did not work either.

Any help that can be offered would be greatly appreciated.

Kind regards,

Dom

1 Reply
Not applicable
Author

My best suggestion is this:

1) Under general tab, select combo chart.

2) Your only dimension should be the month field.

3) Under the expressions tab, use set analysis to hive out the various parts that you want to appear seperately, including budget.

It looks something like this:

sum({<REFERRERS.SOURCE_CODE = {'Advertisement'}>} [Member Counter])

4) Set the 'Budget' expression to display as a 'Line' only

5) set the remaining measures to display as 'Bar' only

6) Under the 'Style' tab, set subtype to 'Stacked'

It's not a 'Bar beside a bar' as you'd hoped, but it provides the same information in a very readable way. If it helps, you can also play with the line's properties in the 'expressions' tab. You can use 'plateau center' and it starts to look something a little more like a bar...

That's as close as I can get off the top of my head. Other suggestions?