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.
RESUELTAS

group and concatenate

Johmz
Asteroide

Need help to group data and concatenate if different input

 

Input

STATEPRODUCTSORT
FloridaAppleBox
FloridaOrangeBag
OhioAppleBox
OhioAppleBag
KansasAppleBag
KansasOrangeBag
NevadaAppleBox
NevadaOrange 

 

 

Output

STATEPRODUCTSORT
FloridaApple/OrangeBox/Bag
OhioAppleBox/Bag
KansasApple/OrangeBag
NevadaApple/OrangeBox
5 RESPUESTAS 5
apathetichell
Arturo

summarize tool. group by state. concatenate product. concatenate sort. / is your delimiter.

 

although in your case - it might make more sense to split this up into two streams. do two summarizes in each (group by/group by and then group by/concatenate) (to get each unique sub entry of sort/product) - and then rejoin on state after the concat. you can filter out blank fields if you want prior to concatenating. 

binu_acs
Polaris

@Johmz Multiple summarise tool to remove the deplicates before the concatenation

 

image.png

Johmz
Asteroide

Thanks apathetichell. its a big help.

Johmz
Asteroide

Thanks binuacs. its a big help.

HomesickSurfer
Cuásar

Hi @Johmz 

 

Perhaps not as slick as @binu_acs solution 😎, this may be of interest...but assumes only 2 each of product and sort

 

Capture.PNG

Etiquetas
Autores con mayor cantidad de soluciones