Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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