Alteryx Designer Desktop Discussions

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

Trying to concatenate rows based on pattern

Inactive User
Not applicable

I know how to concatenate based on same column name but Im trying do something a little different,

 

Here is how my table looks like right now

 

Order details1.1  ~~~Info~~
Order details1.2 ~~~Info~~
Order details2.1 ~~~Info~~
Order details1.1 ~~~Info~~
Order details1.2 ~~~Info~~
Order details1.3 ~~~Info~~
Order details1.4 ~~~Info~~
Order details2.1 ~~~Info~~
Order details3.1 ~~~Info~~
Order details1.1 ~~~Info~~

 

This is my desired output. Basically I would like all related details in the same cell as opposed to all in different ones. So order details (1.1 - 1.1] ,with the second 1.1 being exclusive, be in the same cell. Thank you any help would be much appreciated. 

 

Order  details 

1.1 ~~~Info~~

1.2 ~~~Info~~

2.1 ~~~Info~~

Order  details 

1.1 ~~~Info~~

1.2 ~~~Info~~

1.3 ~~~Info~~

1.4 ~~~Info~~

2.1 ~~~Info~~

3.1 ~~~Info~~

Order  details 1.1 ~~~Info~~
4 REPLIES 4
MarqueeCrew
20 - Arcturus
20 - Arcturus

@Inactive User,

 

You'll want to sit down for this.  First, create a rowID based upon 1.1.  Second Summarize and concatenate using \n (newline).  Third, drop the rowID.  You're done.

 

capture.png

 

Want to see this in a video?  @TuvyL thought so ...

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
TuvyL
Alteryx Alumni (Retired)

Absolutely loved this! Thank you @MarqueeCrew!

Tuvy Le
Manager, Community ACE Program
Inactive User
Not applicable

 @MarqueeCrew Just saw you added a video. You are a legend, watching that really helped me understand the workflow a lot better! I can only hope to be at your level one day, thank you!

MarqueeCrew
20 - Arcturus
20 - Arcturus

@Inactive User ,

 

my pleasure and thanks for the compliment. Perhaps you be answering challenged here soon enough. 

cheers,

 

 Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels