Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

100% stacked bar chart in qlikview with values on the stacked bars

Hi All,

I have a requirement to create a stacked bar chart like the one below.(req.png)

I have been able to create the chart like this (Charts1.png).

Is there anyway I can get the Values on the bars as shown in the requirement?

As of now Im getting the percentages on the bars.

Any help will be great because I have just not been able to crack this.

Expressions used till now.

Actuals %---(Sum(TOTAL<[Product Group],[Product Subgroup]>{$<Quarter={'$(vCurrentQuarter)'}>}Value)/1000)/2/

((Sum(TOTAL<[Product Group],[Product Subgroup]>{$<Quarter={'$(vCurrentQuarter)'}>}Forecast)/1000)/2)

[1-Actuals%]--Gap to forecast

Thanks a lot!

7 Replies
maxgro
MVP
MVP

maybe it helps you

Anonymous
Not applicable
Author

Thank you Massimo!

maxgro
MVP
MVP

When you think you get the answer, please close this discussion by giving Correct and Helpful answers to the posts which are useful for you.  It helps others in finding answers for similar scenarios. Thanks and good Qlik.

nikita42
Partner - Contributor III
Partner - Contributor III

Hi, I'm currently facing the same issue with stacked bar charts. Can you explain what you've done in your solution?

Thanks!

jmalenfant
Partner - Contributor III
Partner - Contributor III

I'd also like to understand how you've done this. I read that you have to load your data in a specific way (cross tables I think), but is that actually necessary?

mvaugusto
Creator
Creator

This help me!!!

Thank you!

Not applicable
Author

I want the same thing. Gap to target filled with red bars, but in a grouped bar chart. So instead of one expression, I have two expressions. And for both expressions the target is 100% and I want the gap to target to be filled in red.