The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Combining data from 3 fields into a new field separated by comma

Rishi_HSBC
5 - Atom

I have data for employees working on different projects as in the below example where A,B,C,D,E,& F represents projects.

 

Employee IDABCDEF
1YesYes    
2  YesYes  
3Yes  Yes Yes
4   Yes  
5    Yes 

 

I want to add a new column in which all the projects assigned to a employee will be consolidated separated by a comma. Something like in the below table.

Employee IDABCDEFEmployee Projects
1YesYes    A,B
2  YesYes  C,D
3Yes  Yes YesA,D,F
4   Yes  D
5    Yes E

 

Can someone please help on this.

TIA !

 

Rishi

3 REPLIES 3
davidskaife
14 - Magnetar

Hi @Rishi_HSBC 

 

Here you go, one way of doing it:

 

davidskaife_0-1766484294278.png

 

Transpose the data, then filter out any blank records. Using the Summarize tool concatenate the remaining records (grouping by Employee ID) and join the results back to the original input. Finally sort on Employee ID 

Rishi_HSBC
5 - Atom

wow!!

That's what I wanted.

 

Thanks David :)

flying008
15 - Aurora

Hi, @Rishi_HSBC 

 

Another solution for you:

 

录制_2025_12_24_08_54_30_51.gif

Labels
Top Solution Authors