Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello community,
In a pivot table i'm trying to build an expression, in this expression I want to sum column A values when column B is equal to X. column B is also a pivoting dimension on the same table so I've tried with:
=sum( if(columnB=X, Alt(columnA,0) ))
or
=sum( {1<columnB= {X}>} Alt(columnA,0) )
but the expression only consider the values of columnB of that part of the chart.
I would like to consider all the data of the original table ignoring the current chart position.
I'm trying to be as clear possible but I'm still learning basic qlik's terminology.
Also I'm not sure about the place to post this in
Thanks for any advice
I found out that the TOTAL keyword was what I was searching so my solution is:
=sum( TOTAL if(columnB=X, Alt(columnA,0) ))
Hi Ricardo
Would you be able to share a sample?
May be this?
=sum( {1<columnB *= {X}>} Alt(columnA,0) )
I found out that the TOTAL keyword was what I was searching so my solution is:
=sum( TOTAL if(columnB=X, Alt(columnA,0) ))
Please mark yourself as correct answer