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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - multiple conditions on the same variable

Hello Everyone,

I have the following statement currently:

=COUNT({<NON_COMPANY={'Other'}, NO_COMPANY_KEYWORD=>} UID)


I have the

NO_COMPANY_KEYWORD=
because I want the chart to act independently of the listbox, however I also want to do put in a condition that says 'exclude all that are null' which I would normally do as the following:
NO_COMPANY_KEYWORD-={''}
, however I'm not sure how to combine these two. Is it possible without explicitly listing my keywords?

Thanks

Gareth

1 Reply
Miguel_Angel_Baeyens

Hello Gareth,

Try the following

=COUNT({<NON_COMPANY={'Other'}, NO_COMPANY_KEYWORD=> - < NO_COMPANY_KEYWORD -= P(NO_COMPANY_KEYWORD ) >} UID)


Hope that helps