Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
claude_jakob
New 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
MVP & Luminary
MVP & Luminary

Re: Stacked Pivot Chart showing relative values

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
MVP & Luminary
MVP & Luminary

Re: Stacked Pivot Chart showing relative values

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

claude_jakob
New Contributor III

Re: Stacked Pivot Chart showing relative values

Thanks - works