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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Stacked Bar with Grouping of Dimentions

Hi Experts,

I need to create a stacked bar with two dimensions. Capture2.PNG

This one is just a sample graph I have created in excel and made changes according to my requirement in paint. But I need to depict the same in Qlikview. I tried to add those two dimensions one after other while creating the graph but its not giving me the required result. Also I want to group them (make them separate) according to Level 1 dimension.

Thanks in Advance,

Abhijit

14 Replies
varshavig12
Specialist
Specialist

Combination of trellis and stacked bar chart

Not applicable
Author

I guess this helps.

Not applicable
Author

Thank You Varsha for your reply.

Do you have any sample for the same? I didn't get the technique you mentioned.

Abhijit

Not applicable
Author

Hi Vonoth,

The sample you shared could have acted as a perfect solution but somehow its not working with my data. I don't know how does the data plays the role in this but sometimes it gives you the anticipated graph. In my case I tried with the exact approach you shared, but I am getting weird graph. Qlikview doesn't always like multi-dimensions in bar graph.

See I am getting something like this:

snap_bar.PNG

I read lot of posts regarding this. I came to the conclusion that we can't build it with multi dimensions.

Abhijit

Not applicable
Author

I think you are experiencing a difficult situation there, but if you could share your .qvw file I may help

And my name is vinoth not vonoth

varshavig12
Specialist
Specialist

I just tried one,

But it looks like this,

varshavig12
Specialist
Specialist

IS THIS OKAY ?

avinashelite

share the sample app with description of your requirement..that will help you in suggesting the solution

Not applicable
Author

Hi Varsha,

Thank you for your response. It's quite close to my requirement. Please have a look at the graph below:

cap2.PNG

If you see the highlighted portion, that's not a part of that particular higher level dimension. So we shouldn't include that one. In real time data I will be having 5-6 subdivisions for each of the 5 divisions. Visually it would be too messy to show all the subdivision irrespective of its relation with higher level dimension. Will it be a correct approach adding two dimensions for chart? Sometimes it will give results sometimes QV doesn't like to work with multiple dimensions in chart.

But I really like your approach towards the problem. How did you get that doted partition?

Abhijit