Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Vidit
Creator
Creator

stack chart for 2 dimension and 1 exp?

i have two dimesnions city and product , and one expression sum of sales.

i want stack bars like:

Product A

Product B

Product C

city

how to achieve that?

11 Replies
Not applicable

Go to Chart Properties --> Style --> select Stacked

Vidit
Creator
Creator
Author

those are two dimesnions and only 1 expression. It would have been true for 1 dimension 2 exp

sunny_talwar

Try this:

Capture.PNG

Vidit
Creator
Creator
Author

thanks for your reply, but those are two dimensions and only 1 exp. product is a dimension it stors A B values. only sales is the count

Not applicable

Please find below Image

BarchartStyle.JPG

sunny_talwar

Not sure I understand, can you may be share a sample data?

avinashelite

add city and peoduct as the dimenisons and sum(sales) as the expressions...and check the stacked bar chart option in the Presentation tab 

Anonymous
Not applicable

like this?

Not applicable

hi

can you please attach  a sample qvd with your problem

regards

Nishit