SOLVED
Merge Columns into One Cell and Keep All Data as Embedded Newlines
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
gaoa
11 - Bolide
‎03-05-2023
12:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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/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 |
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 |
Solved! Go to Solution.
3 REPLIES 3
15 - Aurora
‎03-05-2023
01:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If both fields are in String type, you can just use "+" operator in Formula tool.
[Last sign in ] + " " + [Status]
binuacs
21 - Polaris
‎03-05-2023
02:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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
15 - Aurora
‎03-05-2023
03:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
