Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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 - Creator III
Partner - Creator III

Hello, does this work?

 

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