Alteryx Designer Desktop Discussions

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

Concatenate Question

alexlyle
8 - Asteroid

I have a list of codes, levels, and types( see below). I need to concatenate them but if there is more than a certain number, I need them to be in a new row.  Below, i have 3 codes. One occurs 5 times. One 4 times. One 3 times. How would i limit it so that each row only has 3 occurrences?

I want

CodeLevelType
Code1110
Code1212
Code1316
Code1402
Code1501
Code2112
Code2216
Code2302
Code2401
Code3112
Code3216
Code3302

to become

CodeLevelType
Code11,2,310,12,16
Code14,502,01
Code21,2,312,16,02
Code2401
Code31,2,312,16,02

filling out rows with blank spaces is fine

1 REPLY 1
Aaron_Harter
11 - Bolide

@alexlyle

 

You'll be able to use the concatenate function of the Summarize tool once you assign the group # for each code, to limit the max number of records for each group to 3:

22 1.2.PNG 

Labels