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

Generate Rows and edit column

maxiemens
7 - Meteor

Hi Alteryx Users,

 

I have the following example for my problem: 

 

This ist my Input:

 

maxiemens_0-1592377000423.png

 

I want to generate 6 new rows for PCS like this: 

 

maxiemens_1-1592377098596.png

 

And now I want to rename 5 of the 6  'PCS' like this: 

 

maxiemens_2-1592379191408.png

 

 

Does anybody know how I can do this?

 

Thanks in Advance.

 

 

 

 

1 REPLY 1
BenMoss
ACE Emeritus
ACE Emeritus

Personally, I would approach the task in a way that makes it easy to update should you wish to add 'new names' into your source. 

 

To do that, I recommend storing those different names in a input file of sorts, in this example, I've used a text input.

 

You can then append these records against your PCS value to create all of your new rows, before unioning them both together. 

 

Attached is an example.

 

BenMoss_0-1592379900494.png

 

 

 

Ben

Labels
Top Solution Authors