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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count

Hi All,

can any one help me to get the expression to find the count,

I have a table like below , if a person has active Product sales less than 3000 for consecutive dates then count is 1 if not count is zero.

how to achieve this with set analysis.

        Edited: 

Expected Result is

   

A2
B1
C1
D1

DateActive ProductsalesPerson
3/16/20131100A
3/17/20132500A
3/18/20132000B
3/19/20132000B
3/20/20132000A
3/21/20133500B
3/22/20132900A
3/23/20132500A
3/24/20132500C
3/25/20132500C
3/26/20133250D
3/27/20132500D
3/28/20132640D
3/29/20132500D
3/30/20136000C
3/31/20134200D
11 Replies
Not applicable
Author

Thanks Krishna,

it is not meeting my requirement. please find the above expected result.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Very easy to do in load script. It's a pity you don't want that.