Free Trial

Alteryx Designer Desktop Discussions

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

how to find last value in a column, and replace data

abagga
6 - Meteoroid

Hi,

 

In the attached file "UH data", I want to go to last date (11/17/2020) and do vlookup of this date with date in "Med" file and copy all data from "Med" after that date. This data (after data 11/17/2020 in this case) will replace existing data in UH data file. Both columns (date and amount) needs to be replaced.

5 REPLIES 5
Qiu
21 - Polaris
21 - Polaris

@abagga 
something like this?

1223-abagga.PNG

abagga
6 - Meteoroid

Not really. All values after date 11/17/2020 in file Med should be copied to UH date file and replace existing data in it. Hope this clarifies. Thank you!

Qiu
21 - Polaris
21 - Polaris

@abagga 
Sorry, seems I did it the other way around.

1223-abagga-1.PNG

abagga
6 - Meteoroid

Does it also deletes existing data in UH data completely. I want that to happen

AngelosPachis
16 - Nebula

Hi @abagga ,

 

Would something like this work for you?

 

AngelosPachis_0-1608814091408.png

 

I have added the output tool in a container box, but essentially once you activate it it will overwrite the data in the UH input file.

 

Hope that helps,

 

Regards,

 

Angelos

 

Labels
Top Solution Authors