Alteryx Designer Desktop Discussions

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

Merge two files

Gsiva3
8 - Asteroid

Hi Team,

Hi @Qiu 

 

I have two inputs with different number of columns. In input 1 the columns are A,B,C,D,E,F,G,H and in input 2 the columns are A,B,C,D,E. Now my requirement is that, the columns A,B,C,D,E are same in both input 1 and input 2. Now what I want is, I need to copy the column H from input 1 to input 2. So that my output contains columns A,B,C,D,E,H.

 

Is this possible. If so please help me on this.

 

I have attached the sample file.

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @Gsiva3,


I think you can use join tool:

 

Emil_Kos_0-1613568415702.png


The output:

 

Emil_Kos_1-1613568424520.png

 

 

You can easily rename the column names by clicking clear all renames in the join tool:

 

Emil_Kos_2-1613568450373.png

 

 

echuong1
Alteryx Alumni (Retired)

Your use case is simply a Join. Connect both inputs and use the drop downs to select the fields that should match. It will automatically use all of the fields from both inputs. I unchecked the unwanted fields.

 

echuong1_0-1613568703432.png

 

Qiu
21 - Polaris
21 - Polaris

@Gsiva3 
Thank you for mentioning me, and sorry for being late.

@echuong1 and @Emil_Kos  have already given excellent answers.

Labels