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

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

Filter

Hello,

I want to filter for the following, can one of you let me know if there is a way to do this.

If((Flag = 1 and Year = 2013) and (Flag = 0 and Year =2014), Sum(sales))

I'm not sure how to do this in Qlikview.

Thanks

10 Replies
Not applicable
Author

Based on this example, the below should work for you.

Only({<Flag={'1'},Year={'2013'}>+<Flag={'0'},Year={'2014'}>}Client)

hope that helps

Joe