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

Alteryx Designer Desktop Discussions

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

Updating a column based on another value

vrbravo
7 - Meteor

Hi All,

 

I have the below scenario, Can someone please help.

 

TypeStart DateEnd Date
02019-07-202019-10-18
12019-08-212019-10-18
02019-08-312019-10-25
12019-10-192019-10-25

 

 

In above table, i need to replace the start date value of indicator 1 to that of Indicator 0's start date  for all the records in a table..

 

Below is desired output

 

TypeStart DateEnd Date
07/20/201910/18/2019
17/20/201910/18/2019
08/31/201910/25/2019
18/31/201910/25/2019

 

 

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @vrbravo ,

 

Attached is an example showing how to accomplish that. I'm using the multi-row formula to update the needed values.

https://help.alteryx.com/2019.3/MultiRowFormula.htm

 

Let me know if that works for you.

Best,

Fernando V.

RolandSchubert
16 - Nebula
16 - Nebula

Hi @vrbravo ,

 

this can be done using a Multi-Row Formula tool (but will work only, if rows are in sequence as in your sample)

See attached workflow.

 

Best

 

Roland

 

Labels