In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Hi, I have Data in 2 rows. I want Data to be in One row. Below is the Example

Ayaanarjun-5885
8 - Asteroid

Input

FruitsCount
Apple10
Banana5

 

Output:

 

FruitsCount
Apple & Banana15
2 REPLIES 2
Prometheus
12 - Quasar

@Ayaanarjun-5885 There's probably a better way to do this, but I just split your data into two streams -- one with Fruits and one with Count. Then I concatenated Fruits with " & " as the delimiter and summed Count then brought them back together with an Append Fields tool.

Jeff_Neklason
8 - Asteroid
8 - Asteroid

@Ayaanarjun-5885 You can also do this using the Summarize tool in a single step. You will want to include spaces in the Concatenate Properties configuration " & ".

 

18d11ca3-57a9-454d-a5f9-00c768c5ff38.jpg

 

daca9988-4c87-450c-8165-0cec5f745003.jpg

Are we having fun yet?
Labels
Top Solution Authors