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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
userid128223
Creator
Creator

Question on dupes

I have two fields like below.

StudentHead Teacher
LucasMr Kien
johnMs Amily
TriciaMr Muro
DebMs Henry
TrumpMr Kien
KevinMs Corrine

Each student is suppose to have 1 head teacher. How can you identify students that has 2 head teachers and vice versa.

1 Solution

Accepted Solutions
mdmukramali
Specialist III
Specialist III

Hi,

=Count({<Student={"=Count( [Head Teacher])>=2"}>}Student)

View solution in original post

2 Replies
mdmukramali
Specialist III
Specialist III

Hi,

=Count({<Student={"=Count( [Head Teacher])>=2"}>}Student)

userid128223
Creator
Creator
Author

can you also do solution with aggr function?