Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Consolidating the unmerged data back for each entry when using Self Join

Manjunath
8 - Asteroid

Hey Guys, I have the requirement as shown in the screenshots below 

 

Input

 

InputInput

 

Expected Output

 

Expected outputExpected output

 

 

Any Quick help is highly appreciated!

@MarqueeCrew 

4 REPLIES 4
Manjunath
8 - Asteroid

The requirement is to get values for the close dates from the same dataset.

i.e., For the current Date, item & Dept -> get the matching Close Date, item & Dept values along with the remaining Close Date values.

 

As of Now I am trying to use Self-Join to pick the Prev Close values for a Date, Item & Dept but I am loosing some amount of information due to Item not present in current date but present in Close date and I am unable to get them back for each date iteratively.

JoeS
Alteryx Alumni (Retired)

I feel like I could have done this a little cleaner, but can't think of a way.

 

Hopefully the annotation explains my thought process:

 

Workflow.jpg

Manjunath
8 - Asteroid

Sorry for the delayed response, Thanks a lot @JoeS ! This helped me a lot!

JoeS
Alteryx Alumni (Retired)

You're welcome, I am glad I could help!

Labels