Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Can't Join two data sets

Mostafa_Anwar
8 - Asteroid

Hi All,

 

I am struggling to join two data sets "Plan & Sales" however the duplication issue encountered:

 

Example of Plan Data set

Plan SC.jpg   

 

Example of Sales Data Set:

Sales.jpg

 

When i joined these data sets based on Product below is the output with duplication issue Also

Note: Date field type is V_String  

Output SC.jpg

 

Any help will be a highly appreciated.

 

Regards,

 

3 REPLIES 3
Thableaus
17 - Castor
17 - Castor

Hi @Mostafa_Anwar 

 

Are you using Date as a joining field as well?

 

It seems like you're just using Product as a Key field to join.

 

Cheers,

Mostafa_Anwar
8 - Asteroid

Thanks for your respond, Apologize i forgot to attach how i can achieve the output below after joining the two data sets 

 

Achive.jpg

Thableaus
17 - Castor
17 - Castor

@Mostafa_Anwar 

 

From what I see here you need to do a Left Join, using Product, Team and Date as Key fields to join.

 

First you bring the Join Tool, then you bring the Union Tool, unioning the Left Anchor (L) with the Join anchor (J).

 

The Left table would be the first one, the one that has the 'Plan' Column with all dates.

 

 

Cheers,

Labels