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

Write new rows using specific fields

ew87
7 - Meteor

I need to create new rows if specific columns have a value, and then fill down. I know I can use the multi-row formula to fill down, but need assistance with how to best create the new rows.

 

I have attached an example data set. In this example, row 2 has values in the Name2 and Name3 columns. I need to create new rows (starting in row 4) using those values. So, row 4 should have Jane Smith (from row 2, column Name2) in the Name column. I then need to copy the values from group, date, status, and count fields from row 2 into the newly created row.

 

I then ultimately need to sum the values where they match - so in the example of Jane Smith, I would need to sum the Count for rows 3 and 4 if Name and Date match.

 

Any ideas? Happy to provide additional clarification if needed.

1 REPLY 1
CharlieS
17 - Castor
17 - Castor

 

I've attached an example solution that shows one way to achieve this. Let me know if you have any questions. 

 

20190501-NewRowFill.png

Labels
Top Solution Authors