Alteryx Designer Desktop Discussions

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

Multiple values in rows need into 1 row multiple columns

Nmassarone
8 - Asteroid

Hello, pretty new to Alteryx trying to figure something out...I have a situation where i have a column of account numbers that can be duplicated based on another column values. i need this moved into 1 column for account number and then each registration type in its own column. i tried a few things with the cross tab tool which almost gets what i want but every account number becomes its own column when really i would like everything summed up into 1 column.

 

Here's an example of the original table..

Account NumberMaster IDRegistration
00012345678IRA
00012344371I
00012343243403B
046549876I
5474WBX9657I
5474WBX4329IRRL
65498712897IRA
6549879856403B
6549878734I
65498717789IRA
65498717789IRA
65498768711I

 

 

Right now when i use the Cross Tab Tool it comes out like this

Account Number0001234046545474WBX654987
0001234IRA, I, 403B   
04654 I  
5474WBX  I, IRRL 
654987   IRA, 403b, I, IRA, IRA, I

 

Ideally if i could get it all summed up into 1 column like this

Account NumberRegistration
0001234IRA, I, 403B
04654I
5474WBXI, IRRL
654987IRA, 403b, I, IRA, IRA, I

 

And then my final goal is to have any duplicate registrations inside the cell removed so it would only show unique values in the cell like this....

Account NumberRegistration
0001234IRA, I, 403B
04654I
5474WBXI, IRRL
654987IRA, 403b, I

 

Any help on this would be appreciated thank you for taking the time to look at this.

4 REPLIES 4
binuacs
21 - Polaris
atcodedog05
22 - Nova
22 - Nova

Hi @Nmassarone 

 

My take on this.

 

Workflow:

atcodedog05_0-1643825108639.png

 

Hope this helps : )

 

Nmassarone
8 - Asteroid

Awesome both @binuacs and @atcodedog05  worked great i guess i was overthinking this thank you for the help and replies appreciate it.

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Nmassarone 

Cheers and have a nice day!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels