Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

How to duplicate a result of one field based on the value present in another field?

Jayasuryan
7 - Meteor

Hello Everyone,

 

Am looking for a solution to bring the following output. The 'Cycle time' field is divided using the 'No. of machines' field and based on the value in the 'No. of Machines' column, the answer of the divided value is duplicated with some delimiters (here comma) in the 'Cycle time per machine' column.

 

Input:

Cycle timeNo. of Machines
64.671
251.024
233.664
59.361

 

Output:

Cycle timeNo. of MachinesCycle time per machine
64.67164.67
251.02462.75,62.75,62.75,62.75
233.66458.42,58.42,58.42,58.42
59.36159.36

 

Please provide your valuable inputs. Thanks in advance.

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@Jayasuryan 

Hope this is what you need.

Capture1A.PNG

Jayasuryan
7 - Meteor

Thanks for the answer @Qiu 

Qiu
21 - Polaris
21 - Polaris

@Jayasuryan 
Glad to help and thank you for the accept mark. 😁

Labels
Top Solution Authors