Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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)