Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Concatenate with ; in between each term

BillyL14
8 - Asteroid

Hi there

I need to change my data in row 3 to look like it does in row 4. Please see my sample.

How can I do that in Alteryx?

 

Thanks

9 REPLIES 9
Emil_Kos
17 - Castor
17 - Castor

Hi @BillyL14,

 

Hope this is helpful.

 

Emil_Kos_0-1600373083155.png

 

David-Carnes
12 - Quasar

Here's another way but @Emil_Kos 's solution is cleaner, IMHO.

 

4 WL1.png

BillyL14
8 - Asteroid

@David-Carnes @Emil_Kos 

Thanks both for those, very helpful

 

I forgot to mention that I need the titles of the columns to also be combined, like in my updated sample, would that also be possible?

 

thanks again

David-Carnes
12 - Quasar

I'm sure @Emil_Kos will come up with something better, in the meantime...
Split out the Names and concatenate them, then Union the rest to it.

4 WL1 (2).png

David-Carnes
12 - Quasar

Same thing, but concatenate both field and value in the Summarize, then peel off the field names and data from each other and stack them with the Union tool set to Autoconfig by Position.

 

4 WL1 (3).png

 

(edited to add file)

Emil_Kos
17 - Castor
17 - Castor

Hi @David-Carnes,

 

I don't think there is a better solution than the second one that you have proposed. Hope you don't mind as I have used your find to add additional functionality that might be useful for @BillyL14

In case you want the header to still be a header you need to use the dynamic rename tool to achieve that. 

 

Emil_Kos_0-1600378176717.png

 

 

BillyL14
8 - Asteroid

@Emil_Kos @David-Carnes 

thanks both, what you gave me worked perfectly fr what I provided, however I should have mentioned that I would multiple lines of data, when I tried it took everything and put it in one line, it is possible to summarize as I have done on below example?

 

thanks again

Emil_Kos
17 - Castor
17 - Castor

Hi @BillyL14,

 

Got it. This time it should work for you!

 

Emil_Kos_0-1600421463980.png

 

BillyL14
8 - Asteroid

@Emil_Kos @David-Carnes 

 

Thanks both!

Labels