Alteryx Designer Desktop Discussions

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

Concatenate columns and also retain other columns in the out put data

KamalChoudhary
7 - Meteor

 

Hi 

 

Is it  possible to concatenate  Headers 3,4,5,6,7,..... dynamic number of headers count changes every time based on file input data.

 

while doing concatenatination keep header 1 and 2 in the output data as shown in the below example 

 

Input Data 

Header 1Header 2Header 3 Header 4 Header 5 
.5SP07954VPSNXPNXP
.HKL5321586VTSHKPHKP
.5697P86PHKPVPSMSP
.55897LEFTNXPVTSVPS
.MXP01RIGHTMSPMSPVTS

 

Output Data

Header 1Header 2concatenate Headers Header 3 Header 4 Header 5 
.5SP07954VPS,NXP,NXPVPSNXPNXP
.HKL5321586VTS,HKP,HKPVTSHKPHKP
.5697P86PHKP,VPS,MSPHKPVPSMSP
.55897LEFTNXP,VTS,VPSNXPVTSVPS
.MXP01RIGHTMSP,MSP,VTSMSPMSPVTS
4 REPLIES 4
jrgo
14 - Magnetar

Hi @KamalChoudhary 

 

Using the transpose tool to pivot the columns plus keeping the "Dynamic or Unknown Columns" option checked, the summarize tool will concatenate the values grouped on the recordID field added (can use your own data if it has a unique row ID field). 

 

jrgo_0-1629406739992.png

 

Hope this helps!

Jimmy

messi007
15 - Aurora
15 - Aurora

@KamalChoudhary,

 

Please see below

 

messi007_0-1629447217482.png

 

Attached the workflow.

 

Hope this helps!

Regards

atcodedog05
22 - Nova
22 - Nova

Hi @KamalChoudhary 

 

I have replied for you question on this post 🙂

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Hi-I-have-a-problem-separating-data-st...

 

Hope this helps : )

binay2448
11 - Bolide

May be this can help you....

Labels