Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Combine 2 columns and group values into one column

ashishshetty
6 - Meteoroid

Hello!

 

Beginner user, not sure if this question has already been answered. I am looking to combine 2 columns to get a single column, but with single grouped value of column 1 repeated only once.

 

For example:

 

Input:

ashishshetty_0-1602878352984.png

Output:

ashishshetty_1-1602878376219.png

Attached is a sample excel input.

 

Appreciate the help! Thank you!

3 REPLIES 3
jdunkerley79
ACE Emeritus
ACE Emeritus

I'd suggest:

jdunkerley79_0-1602879153622.png

Start by using a summarise tool to concatenate all the values in Column2 to a single string for each Column1 separated by columns

Then you can use a formula tool to add Column1 value in front of the concatenated values

Finally a text to columns tool will break it up into the rows you need.

 

Sample attached

 

ashishshetty
6 - Meteoroid

Thank you very much!

BaDaBoom
7 - Meteor

I used your solution to solve the opposite problem.

Thank you very much !!!!

Labels