We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Join data with two different data streams on Date

ssripat3
8 - Asteroid

Hello community,

 

I am trying to join the below data which contains a set of data which contains a set of dates. I have a workflow file attached with the below data in a Text Input tool. 

Thank you for the help in advance.

 

Input Table

Old - Effect In DateNew - Effect In DateNew - Effect In CodeNew - Effect Out DateNew - Effect Out Point
10/8/2021D2021-10-08   
11/10/2021D2021-11-10   
12/8/2021D2021-12-08   
12/1/20222024-06-10 2024-06-10 
12/2/2022D2022-12-02   
12/6/20222024-06-10 2024-06-10 
12/16/2022D2022-12-16   
12/19/20222024-09-02 2024-09-02 
12/19/20222024-06-10 2024-06-10 
12/20/2022D2022-12-20   
12/20/20222024-06-10 2024-06-10 
12/21/2022D2022-12-21   
1/16/2023D2023-01-16   
1/18/2023D2023-01-18   
4/25/2023D2023-04-25   
4/25/20232024-06-10 2024-06-10 
5/23/2023D2023-05-23   
8/2/2023D2023-08-02   
3/11/2024D2024-03-11   
5/8/20242024-07-15   
6/21/2024D2024-06-21   
6/25/2024D2024-06-25   
7/8/2024D2024-07-08   

 

Now, these dates will be joined with two data sets. One of them will have the data for the Effect In and other will have for the Effect Out.

 

Effect In Data

 

EFF_IN_POINTEFF_IN_DATE
S4PRAD2024-02-12
S4PRAQ2023-12-29
S4PSAQ2024-09-23
S4PSBS2024-08-19
S4PSBT2024-06-10
S4PSDS2024-09-23
S4PSDT2025-01-20
S4PSEB2025-05-20

 

Effect Out Data

 

EFF_OUT_POINTEFF_OUT_DATE
 9999-12-31
AP3SEB2025-05-16
AP3TBB2026-04-16
D2411272024-11-27
J4PSBT2024-09-08
J4PSDS2024-12-22
S4PRAD2024-02-12
S4PRAQ2023-12-29
S4PSAQ2024-09-23
S4PSBS2024-08-19
S4PSBT2024-06-10
S4PSDS2024-09-23
S4PSDT2025-01-20
S4PSEB2025-05-20
XS4PSBT2024-09-09
XS4PSDS2024-12-23

 

Desired Output

 

Old - Effect In DateNew - Effect In DateNew - Effect In CodeNew - Effect Out DateNew - Effect Out Point
10/8/2021D2021-10-08   
11/10/2021D2021-11-10   
12/8/2021D2021-12-08   
12/1/20222024-06-10S4PSBT2024-06-10S4PSBT
12/2/2022D2022-12-02   
12/6/20222024-06-10S4PSBT2024-06-10S4PSBT
12/16/2022D2022-12-16   
12/19/20222024-09-02 2024-09-02 
12/19/20222024-06-10S4PSBT2024-06-10S4PSBT
12/20/2022D2022-12-20   
12/20/20222024-06-10S4PSBT2024-06-10S4PSBT
12/21/2022D2022-12-21   
1/16/2023D2023-01-16   
1/18/2023D2023-01-18   
4/25/2023D2023-04-25   
4/25/20232024-06-10S4PSBT2024-06-10S4PSBT
5/23/2023D2023-05-23   
8/2/2023D2023-08-02   
3/11/2024D2024-03-11   
5/8/20242024-07-15   
6/21/2024D2024-06-21   
6/25/2024D2024-06-25   
7/8/2024D2024-07-08   
1 REPLY 1
binuacs
21 - Polaris

@ssripat3 one way of doing this

image.png

Labels
Top Solution Authors