Alteryx Designer Desktop Discussions

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

Joining 2 sheets with a variation

BobjiK
8 - Asteroid

Good Day Everyone ! 

 

I have a requirement where I need to join two sheets of an excel file with a slight variation. 

The result of the join tool in "J" and "L" parts need to be joined. 

 

The Output of "J" has record ID's and duplicate groups. The Output of "L" has record ID's and duplicate groups. 

The output for "J" has duplicate groups in pairs. Where pairs exist, no action is needed. Where pairs do not exist I need to extract the missing duplicate group from "L" and merge them together. 

 

For example in the below data table 1, duplicate groups are in pair, for the ones that are not in a pair(some are highlighted in orange) should be identified in table 2 and merged with table 1.

 

table 1

RecordID Duplicate FileDuplicate group
145187085
146187085
281187088
282187088
259187089
260187089
269187108
271187111
379187128
380187128
183187130
184187130
353187134
354187134
221187139
222187139
225187140
226187140
247187141
248187141
253187142
254187142
275187143
276187143
397187144
398187144
405187145
406187145
363187146
364187146
249187147
250187147
355187148
356187148
99187149
100187149
373187150
374187150
127187151
128187151
205187152
206187152
381187154
382187154
237187170
238187170
191187196
192187196
235187202
236187202
119187220
120187220
41187240
42187240
401187242
402187242
455187253
456187253
22187254
21187254
3187255
61187259
62187259
1187260
59187262
60187262
632187263
630187264
11187267
58187268
57187268
627187269
56187270
55187270
626187272
9187273
624187274
690187275
35187277
38187279
621187280
622187280
20187282
19187282
619187283
620187283
53187284
54187284
83187285
84187285
52187286
51187286
618187287
617187287
27187289
49187291
50187291
615187293
616187293
47187294
48187294
687187295
688187295
614187298
613187298
45187300
46187300
349187301
75187302
611187303
612187303
346187304
344187306
651187307
686187308
609187311
610187311
342187312
608187314
607187314
340187315
338187316
294187317
432187318
431187318
606187319
604187321
603187321
460187323
459187323
602187324
416187328
597187330
336187332
334187333
332187334
292187336
596187337
446187338
445187338
593187340
594187340
590187342
589187342
587187343
330187344
585187345
586187345
583187346
582187347
328187349
673187350
326187351
580187352
324187354
575187355
322187357
672187359
571187360
570187361
569187361
320187362
567187364
566187366
458187367
457187367
563187368
564187368
562187369
561187369
557187371
555187373
551187375
552187375
550187376
549187376
546187378
544187381
543187381
541187382
290187383
539187384
537187385
536187386
533187388
534187388
532187389
530187390
527187391
528187391
524187394
523187394
288187395
521187396
520187397
286187398
518187399
515187400
512187402
510187403
643187404
507187405
508187405
506187406
503187407
504187407
501187408
502187408
435187409
499187410
497187413
496187414
493187415
494187415
491187416
492187416
490187418
433187419
488187421
484187423
483187423
389187425
284187427
481187428
280187429
480187430
479187430
478187431
475187432
476187432
474187433
362187434
471187436
472187436
470187437
467187438
468187438
465187439
466187439
464187440
463187440
461187441
462187441
 
 

Table2:

RecordID Duplicate FileDuplicate group
123187184
124187184
125187121
126187121
73187246
74187246
691187305
139187221
140187221
684187320
434187419
436187409
644187404
361187434
309187168
666187313
652187307
165187214
166187214
213187198
214187198
489187418
513187401
538187385
548187377
650187327
251187127
252187127
675187348
439187119
440187119
227187219
228187219
198187200
133187126
151187188
152187188
157187195
158187195
358187424
5187249
6187249
2187260
4187255
10187273
12187267
28187289
36187277
311187231
312187231
87187227
88187227
441187358
189187171
190187171
660187392
662187309
219187203
220187203
161187224
162187224
664187104
359187412
207187411
413187118
414187118
153187208
154187208
169187169
170187169
67187261
514187401
576187355
592187341
646187420
117187192
118187192
423187241
424187241
177187213
178187213
113187207
114187207
229187209
230187209
37187279
681187322
107187180
108187180
351187258
285187398
287187395
289187383
421187132
422187132
655187100
663187104
350187301
352187258
668187339
665187313
547187377
581187347
591187341
601187324
101187173
102187173
649187327
134187126
297187443
298187443
121187217
122187217
403187417
485187422
505187406
261187159
262187159
103187182
104187182
171187193
172187193
659187392
383187426
63187101
678187335
109187206
110187206
393187109
395187105
347187102
233187205
234187205
371187292
77187299
95187210
96187210
697187444
698187444
390187425
685187308
648187387
303187129
304187129
357187424
623187274
375187380
676187348
679187331
669187363
310187168
65187281
453187112
404187417
277187138
278187138
689187275
409187326
437187435
270187108
272187111
556187373
243187125
244187125
187187116
188187116
215187115
216187115
255187117
256187117
267187238
268187238
694187325
195187194
196187194
469187437
473187433
529187390
545187378
559187370
197187200
81187257
193187201
194187201
43187288
308187256
85187271
175187199
176187199
135187230
136187230
137187124
138187124
111187189
112187189
442187358
415187328
86187271
257187135
258187135
68187261
560187370
307187256
696187365
115187076
116187076
443187372
217187204
218187204
447187379
91187177
92187177
477187431
525187393
565187366
573187356
578187353
579187352
449187228
450187228
317187229
318187229
279187429
670187363
231187186
232187186
454187112
656187100
33187266
181187179
182187179
577187353
595187337
599187329
605187319
657187245
658187245
430187442
208187411
641187106
653187120
654187120
143187187
144187187
173187197
174187197
223187211
224187211
633187276
680187331
44187288
634187276
147187216
148187216
7187247
8187247
185187212
186187212
89187222
90187222
368187310
93187226
94187226
245187137
246187137
693187325
661187309
360187412
448187379
384187426
639187103
299187122
300187122
239187225
240187225
376187380
79187290
419187244
420187244
667187339
394187109
396187105
156187296
64187101
444187372
209187191
210187191
105187181
106187181
149187178
150187178
511187402
517187399
519187397
531187389
535187386
554187374
295187107
348187102
425187251
426187251
129187185
130187185
486187422
97187183
98187183
179187176
180187176
674187350
211187175
212187175
201187215
202187215
31187278
692187305
301187133
302187133
305187161
306187161
313187164
314187164
315187163
316187163
387187167
388187167
391187162
392187162
407187165
408187165
411187166
412187166
32187278
34187266
410187326
428187297
625187272
628187269
629187264
631187263
319187362
321187357
323187354
325187351
327187349
329187344
331187334
333187333
335187332
337187316
339187315
341187312
343187306
345187304
291187336
293187317
71187243
72187243
645187420
683187320
385187153
386187153
635187252
636187252
637187250
638187250
671187359
640187103
372187292
367187310
495187414
500187410
509187403
516187400
526187393
540187384
598187330
682187322
369187136
370187136
155187296
399187123
400187123
296187107
199187190
200187190
163187174
164187174
70187265
553187374
438187435
265187035
266187035
677187335
66187281
487187421
572187360
584187346
695187365
13187239
14187239
15187236
16187236
17187234
18187234
23187233
24187233
25187232
26187232
29187235
30187235
39187237
40187237
365187158
366187158
377187155
378187155
417187157
418187157
451187156
452187156
76187302
78187299
80187290
82187257
241187131
242187131
283187427
263187160
264187160
429187442
159187172
160187172
647187387
558187371
167187218
168187218
131187072
132187072
141187056
142187056
642187106
273187248
274187248
482187428
498187413
522187396
542187382
568187364
574187356
588187343
600187329
427187297
69187265
203187223
204187223

 

 

I hope I have made the question clear, please let me know if you have any questions. I most definitely appreciate any help on this. 

 

Regards

Bobji

8 REPLIES 8
BobjiK
8 - Asteroid

Can someone please help

caltang
17 - Castor
17 - Castor

If you need to combine both J and L, you can use a Union tool that can attach both J and L. 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

Let me know if this is what you're looking for:

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
AndrewDMerrill
13 - Pulsar

It took me a while to get down here, due to the sheer size of the tables included XD, but here is a sample workflow that should accomplish what you're looking for.

Screenshot.png

BobjiK
8 - Asteroid

Thanks @AndrewDMerrill 

The solution works. Thanks a lot for your help

BobjiK
8 - Asteroid

Thanks @caltang 

However, I have already tried this method.

 

Really appreciate your help though.

AndrewDMerrill
13 - Pulsar

Glad to be of help, please kindly mark as solution to help others find solutions more quickly!

BobjiK
8 - Asteroid

Hello @AndrewDMerrill 

I have just clicked on "accept as solution"

 

Thanks once again

Labels