Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

Persantage in Pivot Table


Hello,

I am trying to build a report in pivot table that calculate the sales summary and the % for each month grouping by style, color and size.

in order to calculate % I am using expression as following:

.Sum(qty)/sum(total <style,color,csize> qty)  , but getting wrong result.

Please see the attached excel file.

What am I doing wrong? Thank you

1 Solution

Accepted Solutions
sergey_maka8
Valued Contributor

Re: Persantage in Pivot Table

Hi Denis,

I think you just need change csize to Month in your expression

Sum(qty)/sum(total <style,color,Month> qty)

PFA an example

2 Replies
sergey_maka8
Valued Contributor

Re: Persantage in Pivot Table

Hi Denis,

I think you just need change csize to Month in your expression

Sum(qty)/sum(total <style,color,Month> qty)

PFA an example

Not applicable

Re: Persantage in Pivot Table

Hi Sergey,

Yes, I have already solved it by doing this.

But thank you very much for your respond.

Community Browser