Skip to main content
Announcements
Marching toward a simplified navigation! READ ON
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

filter pivot table with original column

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

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I found out that the TOTAL keyword was what I was searching so my solution is:

=sum( TOTAL if(columnB=X, Alt(columnA,0) ))

View solution in original post

4 Replies
el_aprendiz111
Specialist
Specialist

Hi Ricardo

Would you be able to share a sample?

Anil_Babu_Samineni

May be this?

=sum( {1<columnB *= {X}>} Alt(columnA,0) )


Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Anonymous
Not applicable
Author

I found out that the TOTAL keyword was what I was searching so my solution is:

=sum( TOTAL if(columnB=X, Alt(columnA,0) ))

Anil_Babu_Samineni

Please mark yourself as correct answer

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)