Hey Guys,
Have data in the following form:
Field 1 | Field 2 |
Thor | Thor |
Hulk | Hulk |
Captain America | Captain America |
Batman | Batman |
Superman | Superman |
Flash | Flash |
I want the final output to just be unique combinations -
Field 1 | Field 2 |
Thor | Batman |
Thor | Superman |
Thor | Flash |
Thor | Thor |
Thor | Hulk |
Thor | Captain America |
Hulk | Batman |
Hulk | Superman |
Hulk | Flash |
Hulk | Hulk |
Hulk | Captain America |
Captain America | Batman |
Captain America | Superman |
Captain America | Flash |
Captain America | Captain America |
Batman | Batman |
Batman | Superman |
Batman | Flash |
Superman | Superman |
Superman | Flash |
Flash | Flash |
Any help here is appreciated.
Thanks!
Hi @bharathss
1. Use Record ID tool.
2. Split the dataset into 2 using select tool with Record ID and Feild1 in dataet1.
Dataset2 -> Record ID and Field2
3. Use append fields tool
4. Use the filter tool, [Source_RecordID] >= [RecordID]
5. Select tool to drop the unwanted columns.
You get the desired output.
Many thanks
Shanker V
Hey @bharathss, I believe this gets you what you're after - combos are there but superheroes may be in the opposite column to your example:
Hi @bharathss my solution (similar to solution 1):