Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
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
1 Solution

Accepted Solutions
swuehl
MVP
MVP

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
MVP
MVP

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