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: 
smilingjohn
Specialist
Specialist

Set

Hi all iam trying to count the key , where Status is not equaul to Class, Student and name... Other than this it has to count everything

Is this expression correct ?

=count(distinct {<Status -= {'class','name','Student'}>}Key)

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Yes expression is correct

Set Analysis

=count(distinct {<Status -= {'class','name','Student'}>}Key)


With If you can do this way

If condition

=Count(distinct if(Not Match(Status,'class','name','Student'), Key))


View solution in original post

3 Replies
tresesco
MVP
MVP

Looks correct.

its_anandrjs
Champion III
Champion III

Yes expression is correct

Set Analysis

=count(distinct {<Status -= {'class','name','Student'}>}Key)


With If you can do this way

If condition

=Count(distinct if(Not Match(Status,'class','name','Student'), Key))


pradosh_thakur
Master II
Master II

Hi John

if the editor shows you red ignore it.

please go through this once to avoid confusion in future in case of case sensitivity etc.

Quotes in Set Analysis

Learning never stops.