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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Max_
Contributor
Contributor

If statement in filter pane formula when having groups with an intersection

Hi guys,

i have my issues with the filter panes in Qlik. Here is a short description what i want to achieve:

Max__0-1656334645460.png

I need a filter, where i can select "Persons with dogs" and "Persons with cats".


If i write the formula "if(dog=1,'Persons with dogs', if(cat=1,'Persons with cats')) the problem ist, that Person 3 is not in the group of 'Persons with cats', it is just in the group of 'Persons with dogs'). With which formula can i achieve that  person 3 is in both groups ?

Thank you very much in advance for your answers 🙂

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

Load Person, 'Person with dog' as Filter

From YourTable

Where dog = 1;

concatenate

Load Person, 'Person with cat' as Filter

From YourTable

Where cat = 1;

 

View solution in original post

1 Reply
Or
MVP
MVP

Load Person, 'Person with dog' as Filter

From YourTable

Where dog = 1;

concatenate

Load Person, 'Person with cat' as Filter

From YourTable

Where cat = 1;