Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
riccardoprime
Contributor II
Contributor II

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
riccardoprime
Contributor II
Contributor II
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) )


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)
riccardoprime
Contributor II
Contributor II
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

Anil_Babu_Samineni

Please mark yourself as correct answer

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)