Free Trial

Alteryx Designer Desktop Discussions

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

Merge tables by recordID

VanG
6 - Meteoroid
RecordIDCustomer PhoneStart Date

Total

Spent

1123-345-6789Date$
2987-654-3211date$
3456-123-6789date$
4234-567-8901date$
5567-345-9876date$

 

 

1123-345-6789
2987-654-3211
3**New Number**
4234-567-8901
5*New Number**

 

I want the 2nd table to replace the values in customer phone ID from the first table based on the Record ID. 

RecordIDCustomer PhoneStart Date

Total

Spent

1123-345-6789Date$
2987-654-3211date$
3**New Number**date$
4234-567-8901date$
5*New Number**date$

 

5 REPLIES 5
bpatel
Alteryx Alumni (Retired)

hi @VanG ,

 

you will need to change the record ids to a string in order to select them in the find and replace. hope this helps!

bpatel_0-1596645042989.png

 

ChrisTX
16 - Nebula
16 - Nebula

Use a Join tool.  Join on Record Id.  If your second table is the right input, select the Customer Phone from the Right table, and de-select the Customer Phone from the Left table.

 

Chris

VanG
6 - Meteoroid

@bpatel 

 

Is it possible to just replace those values instead of creating a new column? Like Lets say I had a table with just the two updated numbers and wanted to replace it this way. 

 

RecordIDNumber
3**New Number**
5**New Number**
bpatel
Alteryx Alumni (Retired)

@VanG ,

 

i think the best way to go about this will be to append a new column, but then you can use a quick formula to modify that existing column.

bpatel_0-1596646695092.png

 

rahul_Kumar_koshika
7 - Meteor

Hi @VanG

 

It is better to use a Join tool to the join both the table and apply formula tool to replace those values instead of creating a new column.

 

Please find the below attached alteryx workflow to obtain the desired output only by using 3 tools (Join, Formula & Select tool).

 

 If this works, please mark it as a solution.

 

Thanks.

 

Labels
Top Solution Authors