Alteryx Designer Desktop Discussions

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

Merge Columns into One Cell and Keep All Data as Embedded Newlines

gaoa
11 - Bolide

Hello Community:

I recently learned how to merge columns of data into one cell without losing data in Excel. But I wonder how to do it in Alteryx. Thank you in advance for your answers or ideas.

 

Example:

Input:

Last sign in Status
1/23/2018Active
2/11/2019Active
6/8/2022Active
6/8/2022Active
7/24/2019Active
9/19/2018Inactive
11/27/2018Inactive
6/18/2020Active
7/10/2020Active
1/16/2020Active
7/30/2019Active
4/4/2022Active
3/2/2023Active

 

Output:

Last sign in Status
1/23/2018 Active
2/11/2019 Active
6/8/2022 Active
6/8/2022 Active
7/24/2019 Active
9/19/2018 Inactive
11/27/2018 Inactive
6/18/2020 Active
7/10/2020 Active
1/16/2020 Active
7/30/2019 Active
4/4/2022 Active
3/2/2023 Active
3 REPLIES 3
Yoshiro_Fujimori
15 - Aurora

If both fields are in String type, you can just use "+" operator in Formula tool.

[Last sign in ] + " " + [Status]

Yoshiro_Fujimori_1-1678051802287.png

 

 

binuacs
20 - Arcturus

@gaoa You want to merge all the records into one column as @Yoshiro_Fujimori mentioned append the fields into one then use the summarize tool to concatenate with \n delimeter

binuacs_0-1678056035344.png

 

Yoshiro_Fujimori
15 - Aurora

@binuacs Thank you for the follow up.

I did not fully understand the question of @gaoa

as usually I do not think of putting everything into one cell...

Labels