Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic replacement of a dynamic value

Macio
5 - Atom

Hello All,

 

I am trying to get a report where a particular cell data which is dynamic and i need to replace it with another cell data. 

 

 

Numbervaluestartstop
1CD01-01-2023 00:00 
1AD01-01-2023 00:0003-01-2023 00:00
1AD03-01-2023 00:0004-01-2023 00:00
1AD04-01-2023 00:0005-01-2023 00:00
1AD05-01-2023 00:0006-01-2023 00:00
1AD06-01-2023 00:0007-01-2023 00:00
1AD07-01-2023 00:0013-01-2023 00:00
1RD08-01-2023 00:0013-01-2023 00:00
2AD09-01-2023 00:0010-01-2023 00:00
2CD10-01-2023 00:00 
2CD11-01-2023 00:0012-01-2023 00:00
2CD12-01-2023 00:0013-01-2023 00:00
2AD13-01-2023 00:0014-01-2023 00:00
2AD14-01-2023 00:0015-01-2023 00:00
2AD15-01-2023 00:0019-01-2023 00:00
2RD16-01-2023 00:0019-01-2023 00:00
3AD17-01-2023 00:0018-01-2023 00:00
3CD17-01-2023 00:00 
3AD19-01-2023 00:0020-01-2023 00:00
3AD20-01-2023 00:0021-01-2023 00:00
3AD21-01-2023 00:0022-01-2023 00:00
3AD22-01-2023 00:0023-01-2023 00:00
3AD23-01-2023 00:0024-01-2023 00:00
3RD27-01-2023 00:0028-01-2023 00:00
3AD25-01-2023 00:0026-01-2023 00:00
3AD26-01-2023 00:0028-01-2023 00:00

 

Here i am trying to replace the "RD start date" on corresponding number's last "AD end date".

For example: 

 

Numbervaluestartstop
1CD01-01-2023 00:00 
1AD01-01-2023 00:0003-01-2023 00:00
1AD03-01-2023 00:0004-01-2023 00:00
1AD04-01-2023 00:0005-01-2023 00:00
1AD05-01-2023 00:0006-01-2023 00:00
1AD06-01-2023 00:0007-01-2023 00:00
1AD07-01-2023 00:0013-01-2023 00:00
1RD08-01-2023 00:0013-01-2023 00:00

 

I want to replace "AD End date (Here 13-01-2023 00:00)" with "RD Start date (Here 08-01-2023 00:00)".

i want to repeat this for 100+ numbers. 

 

Anybody have any idea on this ??

 

Thank you.

5 REPLIES 5
binu_acs
21 - Polaris

@Macio This can be achieved with the help of the multi-row formula

binuacs_0-1684589960138.png

 

Macio
5 - Atom

@binuacs Thanks for sharing !! 

 

I have little bit complexity to be added. 

 

So i need the RD data which needs to added only to the AD1 stop time. Also same only the last Rd time to be taken to LAST AD1 STOP TIME.

 

Numbervaluestartstop
1CD01-01-2023 00:00 
1AD101-01-2023 00:0003-01-2023 00:00
1AD203-01-2023 00:0004-01-2023 00:00
1AD204-01-2023 00:0005-01-2023 00:00
1RD05-01-2023 00:0006-01-2023 00:00
1AD106-01-2023 00:0007-01-2023 00:00
1AD207-01-2023 00:0013-01-2023 00:00
1RD08-01-2023 00:0013-01-2023 00:00
2AD109-01-2023 00:0010-01-2023 00:00
2CD10-01-2023 00:00 
2CD11-01-2023 00:0012-01-2023 00:00
2RD12-01-2023 00:0013-01-2023 00:00
2AD113-01-2023 00:0014-01-2023 00:00
2AD114-01-2023 00:0015-01-2023 00:00
2AD215-01-2023 00:0019-01-2023 00:00
2RD16-01-2023 00:0019-01-2023 00:00
3AD117-01-2023 00:0018-01-2023 00:00
3CD17-01-2023 00:00 
3RD19-01-2023 00:0020-01-2023 00:00
3AD320-01-2023 00:0021-01-2023 00:00
3AD121-01-2023 00:0022-01-2023 00:00
3AD222-01-2023 00:0023-01-2023 00:00
3AD123-01-2023 00:0024-01-2023 00:00
3RD27-01-2023 00:0028-01-2023 00:00
3AD125-01-2023 00:0026-01-2023 00:00
3AD226-01-2023 00:0028-01-2023 00:00
binu_acs
21 - Polaris

@Macio @You want the last RD start time to reflect in to last AD1 stop time? Eg in the case of number 1 , the AD1 time should be replaced with the last RD time  08-01-2023?

Macio
5 - Atom

Dynamic replacement of a dynamic value Yes, i would like replace last AD1 stop time with last RD start time.

binu_acs
21 - Polaris

@Macio Attaching the updated workflow, let me know if that works for you

binuacs_0-1685035231271.png

 

Labels
Top Solution Authors