Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Criteria - find all occurrences in 6 months

bh1789
8 - Asteroid

I have a dataset where I need to find:

 

1. did  Identify (field1) occur multiple times within 6 months

2. if there is a second or third occurence as shown in example, how do I find if date 1 of second occurence (8/22/2022 in this ex) is/is not within 5 days of date2 of first occurrence (8/9/2022) is this example,

3. message 3 - is date 1 within 5 days of notificationDate2 from Message 2

 

 

 

IdentifyMessage IDDate1NotificationDate2
B123456Message 18/1/20228/9/2022
B123456Message 28/22/20228/26/2022
B123456Message 311/8/202211/9/2022

 

2 REPLIES 2
ShankerV
17 - Castor

Hi @bh1789 

 

Got your question, how is the output expected.

 

Many thanks

Shanker V

FinnCharlton
13 - Pulsar

Hi @bh1789,

This should help solve your problem:

FinnCharlton_0-1674503784977.pngFinnCharlton_1-1674503798920.png

 

Labels
Top Solution Authors