Alteryx Designer Desktop Discussions

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

Combine 2 table

lity125
6 - Meteoroid

Hi all, I have got 2 table as below

table 1

lity125_0-1611226844627.png

table 2

lity125_1-1611226861505.png

I would like to combine above 2 into 1 table by replacing the HKD & USD 3mth & 6mth with the value in 2nd table like below

Currency1-month3-month6-month12-month
HKD0.10.250.30.4
USD0.050.150.150.2
CNY11.51.551.55

I have tried union and join tools but seems cannot make it, is there anyone could help on this? Thank you.

5 REPLIES 5
Emil_Kos
17 - Castor
17 - Castor

Hi @lity125,

 

Find and replace with this configuration should work for you:

 

Emil_Kos_0-1611227689380.png

You would need to use it twice as there are 2 columns that you want to replace. 

JosephSerpis
17 - Castor
17 - Castor

Hi @lity125 you can use a combination of Join and Union tools to replace this data. The Join tool will replace the data you want from the second table and the union will ensure you don't lose any data that doesn't join from table 1 and table 2. I've mocked up a workflow to showcase this let me know what you think?

 

Replace_21012020.JPG

afv2688
16 - Nebula
16 - Nebula

Hello @Emil_Kos,

 

This is how I would do it using the join tools:

 

Untitled.png

 

Regards

smoskowitz
12 - Quasar

Hi @lity125 --

 

Take a look at my solution. I tried to create it to be Dynamic for you. You can of course alter it to be more dynamic, but it appears to work.

 

I hope this helps!

 

Thanks,

Seth

lity125
6 - Meteoroid

I used the method of join and union and it works! Thanks all for your help. 

Labels