We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Union the tables irrespective of the fields

Vighnesh_Ivaturi
7 - Meteor

Hi all. I have data with customer names and their net and gross amounts for their different services and union both the tables. The customers depend on the different input files I send through the flow. Suppose AR,BR,CR are the services with the net and gross amount for the below customers. Now if I change the customer input file - they have different services with net and the gross amount. When I try to union them It gives error If the service which was available in the previous customer's file was not found. How can I union the data irrespective of the services? Please help me with this

 

NET AMOUNT
CUSTOMERARBRCR
123000
124010012
1250034
1260230
127000
128000
GROSS AMOUNT
CUSTOMERARBRCR
123000
124014030
1250060
1260500
127000
128000
1 REPLY 1
Felipe_Ribeir0
16 - Nebula

Hi @Vighnesh_Ivaturi 

 

Your problem is that each file can have a different set of columns, right?

You can use the input batch macro, it will union the columns when the column name is the same, and create a new one when it is different.

 

Take a look at this topic, the workflow is attached.

 

The Ultimate Input Data Flowchart - Alteryx Community entrée de données eingabedaten 

Labels
Top Solution Authors