Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
joeybird
Creator III
Creator III

expression to exclude customers

Hi

each customer has a Customer ID.

I have a stacked bar chart with a written expression to count the number of orders from each department

e.g Catering, Homeware, Children.

however I want to count the customer ID's that have ordered from Children, and other departments.... on the bar chart I want to exclude the customerIDs that have only ever ordered from Children department

please help

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe like

Count({<CustomerID -= {"=ONLY(Department)='Children' "}>} DISTINCT CustomerID)

Note the minus sign before the equal sign,

View solution in original post

3 Replies
Chanty4u
MVP
MVP

swuehl
MVP
MVP

Maybe like

Count({<CustomerID -= {"=ONLY(Department)='Children' "}>} DISTINCT CustomerID)

Note the minus sign before the equal sign,

joeybird
Creator III
Creator III
Author

brill thank you x