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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to get zero value customers

i have a list of customers and sales. requirement is to display customers who has no sales in last 6 months. can some one help me with some idea to achieve this.

Labels (1)
2 Replies
MayilVahanan
MVP
MVP

HI

Try like this

vDate1 = MonthStart(Max(DateField),-5)

vDate2 = Max(DateField)

Make sure that, date field is same.

Count({<DateField= {'>=$(=vDate1)<=$(=vDate2)'}, Sales -= {'*'}>} Customers)

or

Count({<DateField= {'>=$(=vDate1)<=$(=vDate2)'}, Sales = {0}>} Customers)

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thank you mayil, i didn't work this way. i got it to work using calculated dimensin with

=if(aggr(sum({<$(tDim)=$(vMonthWeek)>}Sales),Customer)=0,Customer,null())