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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Marcoimp
Partner - Creator III
Partner - Creator III

Sum in SetAnalisys

How can I get the count of clients of this year that the last year bought more than 2500€ of pieces?

I found this formula:

=count({$<

     YEAR={2013},

     CONTACTID = {"=Sum({$<YEAR = {2012}>} VALSALES ) >= 2500"}

  >} CONTACTID)

But it doesn't work!

Where I'm wrong?

Thank you.

M.Imperiale
Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

It looks quite ok to me. I would probably do a DISTINCT count, though.

What do you mean with 'doesn't work'? No result? Wrong result?

Have you double checked all field names, that they are correctly spelled?

View solution in original post

2 Replies
swuehl
Champion III
Champion III

It looks quite ok to me. I would probably do a DISTINCT count, though.

What do you mean with 'doesn't work'? No result? Wrong result?

Have you double checked all field names, that they are correctly spelled?

Marcoimp
Partner - Creator III
Partner - Creator III
Author

I find, my error. There's a fieldname with a "S" more (VALSALE not VALSALES).

It's strange it gives Zero, anyway......

Thank you.

M.Imperiale