Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
claude_jakob
Contributor III
Contributor III

Stacked Pivot Chart showing relative values

Hi there

I am struggling with Qlikview in creating a pivot chart/table showing relative values. I want to show %Sales per year and for each year the %numbers need to add up to 100% (Excel Pivot Table.png). I have attached the correct example as done in Excel pivot table. Trying this in QV the expression seems incomplete (QV pivot chart.png).

When using absolute numbers the stacked chart looks fine. When selecting "Relative" in the Expression tab %-figures are calculated but the values of the whole chart adds up to 100% - and not as needed.

I have attached Excel file (with data) and a qvw app for reference. Thanks for any thoughts

Claude

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Disable the Relative option and use this expression: sum(Sales)/sum(total <Year> Sales)


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

Disable the Relative option and use this expression: sum(Sales)/sum(total <Year> Sales)


talk is cheap, supply exceeds demand
claude_jakob
Contributor III
Contributor III
Author

Thanks - works