Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
risabhroy_03
Partner - Creator II
Partner - Creator II

Repeat Customer Or Not

I have a set of data where I want to add a new flag whether that customer is a repeat Customer or not.

Condition - If a customer buys multiple products on the same date then he is not a Repeat Customer.

If a customer buys products on different days, then it is a Repeat Customer.

Below is a repeat customer - 

risabhroy_03_0-1683283096565.png

 

below is the non repeat customer

risabhroy_03_1-1683283355992.png

 

Plz help.

Labels (6)
1 Reply
justISO
Specialist
Specialist

Hi, in front end you can try something like this:

if(aggr(count(distinct LinkCommnonDate), RepurchaseMember)>1, 'Repeat', 'Non-Repeat')