Alteryx Designer Desktop Discussions

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

Merge two columns of different size

StuttgartPower
Meteoroid

I have two input columns, which I need to bring together as follows:

                   

Input Column 1Input Column 2Output Column 1Output Column 2
AA1AA1

B

A2AA2
CA3AA3
 B1BB1
 B2BB2
 B3BB3
 C1CC1
 C2CC2
 C3CC3

 

Can you help me to get this output?

15 ANTWORTEN 15
atcodedog05
22 - Nova
22 - Nova

_

atcodedog05
22 - Nova
22 - Nova

Hi @StuttgartPower 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1606229992503.png

Workflow:

atcodedog05_1-1606230009951.png

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Per
Bolide

Hi @StuttgartPower,

 

Thanks for providing another example, however I am not sure which logic to apply that would make anyone recognize that Tier987 should be joined with A1 and not B1?

 

There needs to be some similarities between the fields you wish to join in the two columns. It could be that the first letter in Column 2 related to first entry in Column 1 (so A maps to Tier987, B to Wave285 and D would map to Pole578 (as an example))

atcodedog05
22 - Nova
22 - Nova

@Per great point. I just assumed its the sequence.

morr-co
Feuerball

I think this may get you what you need. It is predicated on joining by record position which isn't a great practice in my opinion. I would recommend reviewing the results of your entire data set before implementing this.

 

Screen Shot 2020-11-24 at 8.07.24 AM.png

Per
Bolide

@atcodedog05 I did as well, but after reading that your suggestion did not do the trick, I think it might be something else 🙂

Beschriftungen