I am new to alteryx and have an issue where my data has unique ID's but one of the columns can have multiple values, leading to a duplication of the unique ID in a table. An example is below:
ID | Rep |
1 | John |
1 | Dave |
2 | Rob |
3 | Scott |
I need to modify the output so that it comes out like below instead:
ID | Rep1 | Rep2 |
1 | John | Dave |
2 | Rob | |
3 | Scott |
Essentially, if it finds that the data has multiple Rep's for any of the unique ID's listed it would add a new column for each rep. If there are 3 different Reps for any one ID then it would add two additional columns instead of just one and so on.
I have been unable to find a way to do this so any help would be appreciated!