community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Community v19.9

The latest release includes several enhancements designed to improve your Community experience!

Learn More
SOLVED

Write new rows using specific fields

Highlighted
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.

Alteryx Certified Partner
Alteryx Certified Partner

 

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