Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

filters pivot table

Hello,

I have a pivot table with the following fields :

Dim1

Dim2

Dim3

sum(val1)

sum(val2)

sum(val3)

I need to know how can I filters records with the following condition :

sum(val1) > 1000 and sum(val2) < 2000

Thank you

4 Replies
PrashantSangle

Hi,

Create your expression in Script level and there you can manipulate it.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
tresesco
MVP
MVP

One way could be like:

Rewrite the expressions like:

Exp1: If( sum(val1) > 1000 and sum(val2) < 2000 , 0 ,  sum(val1))

Exp2: If( sum(val1) > 1000 and sum(val2) < 2000 , 0 ,  sum(val2))

Exp3: If( sum(val1) > 1000 and sum(val2) < 2000 , 0 ,  sum(val3))

And enable the 'Supress Zero Values' in the presentation chart.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

If(sum(val1) > 1000 AND sum(val2) < 2000, "You expression here")

Regards,

Jagan.

Not applicable
Author

Please find solution in attachment and let me know .