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: 
shonarugg
Contributor
Contributor

Exclusions in Measures

Hi There,

I am trying to do a count of items by client in a measure - just a text box to get to the correct number checking against the data.

I would like a count of items in a list excluding, for example the below clients.

I know that this is incorrect, but I can't remember how to list the exclusions in the expression.

=count(distinct(if(ClientCode <> 'Client1' or 'Client2' or 'Client3', Item)))

Any suggestions?

Thank you.

Labels (4)
1 Reply
Clement15
Partner - Specialist
Partner - Specialist

Hello, does this work?

 

count(distinct {<ClientCode -={ 'Client1' ,'Client2' , 'Client3'}>} Item)