Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

How to combine multiple files into one?

gc-804
7 - Meteor

Hello,

 

I have four sets of data files in Excel (see attached for simplified version) and want to combine them into one file. I used Union to bring them together and then used the common field - Description to Summarize the data in order to get the following output. However, some data dropped from Union. What should be done differently to include all data in the below expected format and results? Thanks!

 

DescriptionT - Box 1T - Box 2R - Box 1R - Box 2TA - BoxRA - Box
AAA1122D   
BBB13 N   
CCC 23 M  
DDD  SS-1  
EEE     B
FFF     C

 

4 REPLIES 4
fmvizcaino
17 - Castor
17 - Castor

Hi @gc-804 ,

 

I'm sharing two examples of workflows to accomplish what you need. 

fmvizcaino_0-1586905419905.png

 

 

Best,

Fernando Vizcaino

 

gc-804
7 - Meteor

Hi @fmvizcaino,

 

Thank you for the prompt help! The method 1 is close the results I am looking for, but R - Box 1 and R - Box 2 were not brought in (I wonder if they were dropped from Union and that was what happened to me) and the value in RA - Box has displayed twice for EEE and FFF. Because R - Box 1 and R - Box 2 were not brought in, it caused error to Summarize tool in method 2. Any way to resolve this?

 

Thanks!

fmvizcaino
17 - Castor
17 - Castor

Hi @gc-804 ,

 

I'm attaching the result table from my example.

fmvizcaino_0-1586913349554.png

 

If you are not getting the same with your workflow, maybe the union tool configuration are concatenating based on position or manually. The configuration needs to be as below:

fmvizcaino_1-1586913415203.png

 

Best,

Fernando Vizcaino

 

 

gc-804
7 - Meteor

Hi @fmvizcaino,

I do have the same setting in Union. When I applied your approach to my workflow, it does work. Thanks!

Labels