Start Free Trial

Alteryx Designer Desktop Discussions

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

Joining with a condition

AIPH123
8 - Asteroid

Hi All, I have 2 data sets as shown below. Can you please help me merge them together as shown below in the output

 

Table 1 :

Customer ID30 days60 Days90 days120 days365 days
1234510100
678911100
1023410010

 

Table 2: 

Customer IDProduct 1Product 2Product 3Product 4Product 5
12345TableChair   
6789TableChairStool  
10234Shoeclothes  

 

 

Output :

Customer ID30 days60 Days90 days120 days365 days
12345Table0chair00
6789TableChairStool00
10234Shoe00Clothes0
3 REPLIES 3
echuong1
Alteryx Alumni (Retired)

You can pivot the data in both tables to get the values, and then join back together.

 

See attached. Hope this helps!

 

echuong1_0-1601047257731.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @AIPH123 ,

 

Here is a workflow for the task.

atcodedog05_0-1601047899392.png

atcodedog05_1-1601047970282.png

Hope this helps : )

 

If it helps please mark the post as solution

AIPH123
8 - Asteroid

Thank you very much. This worked!

Labels
Top Solution Authors