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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to exclude values in an expression?

Hi,

I have the following expression to include specific values, but how can I do the same to exclude values? this because I have another field that I need to use but exclude just 3 and include the rest:

SUM ({$<[Escalated State]= {'De-Escalated','Resolved/Closed','Escalated'}>}[Escalated Case Count])

How can I do the exclusion?

Please advise.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

Sum({$<[Escalated State] -= {'De-Escalated','Resolved/Closed','Escalated'}>}[Escalated Case Count])

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be this:

Sum({$<[Escalated State] -= {'De-Escalated','Resolved/Closed','Escalated'}>}[Escalated Case Count])

sunny_talwar
MVP
MVP

or this:

Sum({$<[Escalated State] = e({<[Escalated State] = {'De-Escalated','Resolved/Closed','Escalated'}>})>} [Escalated Case Count])