Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

stacked barchart 100%

Hello,

I m trying to create a stacked barchart to present the composition of the sales. As you can see I'm using 2 dimensions [customer segment] & [product category].

If I don't check the relative box at the expressions properties I get the following chart, which is just fine.

composition1.png

The problem is that I want to have a 100% stacked barchart. So when I check the relative property, instead of getting 100% in all 4 bars, I get a 25% each.

composition.png

Any ideas?


Thanks

Theodore

1 Solution

Accepted Solutions
Not applicable
Author

Actually, I found the solution myself.

The relative property presents the share of the value in the whole chart, therefore it should be unchecked.

So, to have 100%, I simply went to the number properties, changed the format to number, and checked the show percentage.

It was easier than what I thought finally!

View solution in original post

1 Reply
Not applicable
Author

Actually, I found the solution myself.

The relative property presents the share of the value in the whole chart, therefore it should be unchecked.

So, to have 100%, I simply went to the number properties, changed the format to number, and checked the show percentage.

It was easier than what I thought finally!