Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

And Operator in Set Analysis

Is there and and operator in Set Analysis. For example I want a count of all of the people who took both Course1 and Course2.

Count({<[Course Name] = {'Course1', 'Course2'}>} Distinct [Employee ID])

gives me a count of the employees who have taken either course. I want only those who have taken both courses.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

=count({<[Employee ID] = p({<[Course Name] = {Course1}>}) * p({<[Course Name] = {Course2}>}) >} distinct [Employee ID])

View solution in original post

1 Reply
swuehl
MVP
MVP

Try

=count({<[Employee ID] = p({<[Course Name] = {Course1}>}) * p({<[Course Name] = {Course2}>}) >} distinct [Employee ID])