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

Add new records that match with an existing field in the main table

sarasustelosantos
7 - Meteor

Hello,

 

I have this table as the main one:

YearID

2016

1
20171
20181

2016

2
20172
20182

2016

3
20173
20183

 

And I have a second table with new year data:

Year
2019
2020
2021
2022

 

As an output the result should be a table that adds to the main one, the new year with each existing ID.

YearID

2016

1
20171
20181

2016

2
20172
20182

2016

3
20173
20183
20191
20201
20211
20221
20192
20202
20212
20222
20193
20203
20213
20223

 

How can I do this in Alteryx?

Thank you in advance 🙂

3 REPLIES 3
grazitti_sapna
17 - Castor

Hi @sarasustelosantos , try this if works for you.

Thanks.

grazitti_sapna_0-1592393111967.png

 

Sapna Gupta
ChrisTX
16 - Nebula
16 - Nebula

The attached workflow gives the requested output.

 

Annotation 2020-06-17 063515.png

 

Chris

ropra
7 - Meteor

 

 Hey,

 

Attached a workflow - if the fields that need to be appended are a lot, it would take some time to process

Labels
Top Solution Authors