Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Two different files excel in one with additional info

andreatorres
5 - Atom

Good afternoon i'm new using alteryx, and i'm trying to work with two different files from excel,

 

The file No.1 contain this information

CodiceDenominationNo. Invoice from other countries
5Company X25.000
4Complany Z85.000
9Company Y15.000

 

The file No.2 contain this information

SocietyOrd numCodeDenominationResponsible
SErvices6002692660-2458-353Company GLucas
SErvices6002694560-2458-224Company XMatteo
SErvices6002568560-2458-169Company YPeter
SErvices60026454660-2458-698Company LFernando

 

And i'm trying to obtain an unique file like this

 

CodiceDenominationNo, Invioce from other countriesSocietyOrd NumberCodeResponsibleCluster
5Company X25.000SErvices6002694560-2458-224Matteo 
4Company Z85.000SErvices    
9Company Y15.000SErvices60-2458-16960-2458-169Peter 

 

The unique file (file No1) has to get the information from file No.2 according the Denomination (company), with a new blanck column called Cluster

 

How can i get the right information from file no 2 and put it into the right company

 I'll appreciate if anyone could help me

4 REPLIES 4
Thableaus
17 - Castor
17 - Castor

Hi @andreatorres 

 

Would this work?

Workflow1.PNG

 

1st Text Input - your 1st Excel File

2nd Text Input - your 2nd Excel File

3rd Text Input is your empty "Cluster" field. You can write that to a Text Input Tool.

 

You join 1st and second input and union the L side to J side. This is a left join.

 

Then you union that to the Cluster field, just to bring it as a blank field.

Workflow attached.

 

Cheers,

andreatorres
5 - Atom

Thank you very much...it worked....

andreatorres
5 - Atom

i have another question, can i join a work done with a new input data or i must use join multiple

Thableaus
17 - Castor
17 - Castor

@andreatorres 

 

Yes, you can get the output of your work done and join it to a new dataset.

 

Join multiple is used when you have a common key among multiple datasets you're working with and then you don't need to use the Join tool over and over again. You use a single one.

 

Cheers,

Labels
Top Solution Authors