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: 
Anonymous
Not applicable

How do I write expression to exclude a value?

Field name is Existing Groups.  Values are Yes or No.  How do I write an expression to pull in a count of ONLY the "YES" values?

I would like to create a bar chart that lists a column for "yes" and a column for "no".

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Count({<[Existing Groups]={'YES'}>} [Existing Groups])

View solution in original post

3 Replies
antoniotiman
Master III
Master III

Count({<[Existing Groups]={'YES'}>} [Existing Groups])

MK9885
Master II
Master II

count(if([Existing Groups]='YES',[Existing Groups], if([Existing Groups]='NO',[Existing Groups] )) )

Anonymous
Not applicable
Author

Thanks!