Alteryx Designer Desktop Discussions

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

How to combine data into one cell

clarrock
8 - Asteroid

Hi,

 

I want to combine data in column Asset into one record

Eg heres my input data : 

CodeNameCcyAsset
280

Alex

EURGovt-Spain
280AlexEURGovt-Italy
290PeterGBPCash-EUR
302KeithUSDCash-EUR
438AdamINRGovt-United States
438AdamINRGovt-United States

 

My expected output creates a unique row for each code
Expected output :

CodeNameCcyAsset
280AlexEURGovt-Spain, Govt-Italy
290PeterGBPCash-EUR
302KeithUSDCash-EUR
438AdamINRGovt-United States, Govt-United States

 

Is this possible?

2 REPLIES 2
binuacs
20 - Arcturus

@clarrock  Use the summarize tool group by code, name and city, for the asset field select string - concat option

gawa
15 - Aurora
15 - Aurora

hi @clarrock 

You can use Summarize tool like this. By the way, your sample data has duplicated records (row5&6). If you need to remove the duplicated row, put Unique tool before Summarize tool, if this better fits to your case.

image.png

Labels