Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis

Hi!

I have some problems with set analysis. How do I do it?

I want to count the "Personnr" if count(distinct InvoiceNo)=0.

I tried do write it like this (but error):

count({$<count(distinct InvoiceNo)={0}>} Personnr)

Can you help me?

/Julia

1 Solution

Accepted Solutions
swuehl
MVP
MVP

If I understood your request correctly, maybe like this:

count({$<Personnr = {"=count(distinct InvoiceNo)=0"} >} DISTINCT Personnr)

View solution in original post

4 Replies
swuehl
MVP
MVP

If I understood your request correctly, maybe like this:

count({$<Personnr = {"=count(distinct InvoiceNo)=0"} >} DISTINCT Personnr)

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Isn't that a count of Personnr without invoices:

count({$<InvoiceNo-={'*'}>} Personnr)

btw, the editor doesn't understand -= ,but it works nonetheless


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks!

Not applicable
Author

Thanks