Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Concatenation of Values in Rows

Nandakishore
8 - Asteroid

Hi ,

 

Is there any way to concatenate the values available in multiple row of a given column using Multi row formula expression . 

 

Thanks

14 REPLIES 14
Nandakishore
8 - Asteroid

Here is the expectation : 

 

CCVendDtypeResult
AV1929282
BV21111
AV1829282
binuacs
20 - Arcturus
Nandakishore
8 - Asteroid

Hi @binuacs ,

 

Thankyou .Just a small change . Can you help to arrive the result based on uniqid as shown : 

 

 
CCVendUniqidDtype
AV1AV192
BV2BV211
AV1AV182

 

 

 

binuacs
20 - Arcturus

@Nandakishore I updated both my workflows, i was using a wrong field iin the initial workflow

image.png

Nandakishore
8 - Asteroid

Hi @binuacs  ,

 

Thanks again . I applied below formula in the tool  : 

IIF(isNull([Row-1:Uniqud]) AND isNull([Row+1:Uniqud]),[DType],IIF(isNull([Row+1:Uniqud]),[Row-1:output],(toString([DType])+toString([Row+1:DType]))))

 

and the result is : 

 

VSR_UniqudDTypeoutput
FR463791776328472024RERE92
FR463791776328472024929286
FR463791776328472024869286

 

But i need like this : 

 

VSR_UniqudDTypeoutput
FR463791776328472024RERE9286
FR46379177632847202492RE9286
FR46379177632847202486RE9286
Christina_H
14 - Magnetar

Do you have to use the multi-row formula tool?  This would be much easier using a summarise tool.  Group and concatenate the values you want (removing separators from the concatenation) then join back on to the original data.

image.png

Nandakishore
8 - Asteroid

@Christina_H ,

 

When i join back the line duplicate  hence multi row formula 

 

Christina_H
14 - Magnetar

Obviously you can use whichever tools you like, but you shouldn't get duplication joining back the summarised data, see my output above.

Nandakishore
8 - Asteroid

@Christina_H ,

 

thankyou . I like to see this with multi row formula . 

Labels