Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to count the number of customers with unique values in one field while excluding a specific value at the same time. I feel I am close but being new, I am missing something likely very simple.
Using the sample data, I want to exclude '333' from the count of unique IDs per Customer.
Sample:
Customer | ID |
a | 666 |
a | 666 |
a | 333 |
b | 111 |
b | 222 |
c | 111 |
c | 111 |
c | 222 |
c | 333 |
Summary Counts I need: | |
a | 1 |
b | 2 |
c | 2 |
Thank you for your help!
Hi @PaReD_SF85 , try this expression it uses some set analysis :
count({<ID -= {333} >} distinct ID)
Thank you QFabian! This works perfectly.
Hi @PaReD_SF85 , try this expression it uses some set analysis :
count({<ID -= {333} >} distinct ID)
Thank you QFabian! This works perfectly.