Free Trial

Alteryx Designer Desktop Discussions

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

How to keep adding today's date to newly found records

hal_dal
8 - Asteroid

 

 

Need to add today's date to a list of record

Then when I run this daily, I want to check if the input has any other records that doesn't appear yesterday then add today's date and so on.

 

E.g.,

 

 

I run this on May 3rd

 

IDDate
12345/3/2025
56785/3/2025
910115/3/2025

 

 

I run this on the 4th and so on

 

 

IDDate
12345/3/2025
56785/3/2025
910115/3/2025
143325/4/2025
464425/4/2025

 

Is there a way to do this without producing an excel file? (or any output at all)

I want to append the new records I find to the list and keep adding today's date but only to the newly found IDs.

 

Hopefully this makes sense.

Thank you!

4 REPLIES 4
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

@hal_dal ,

 

If you can say something on the design of the input data,

it would be better to ask the designer to add the record creation date as soon as the record is added.

If you can just receive the data and you are responsible to add the date to the record, here is one solution.

I hope this helps.

 

Input data

Data from yesterday (you keep)

IDDate
12342025-05-03
56782025-05-03
910112025-05-03

Data received today (from the source)

ID
1234
5678
91011
14332
46442

 

Workflow

add_date.png

Output

IDDate
12342025-05-03
56782025-05-03
910112025-05-03
143322025-05-07
464422025-05-07

(To keep the order of the records, you need to use Engine Compatibility Mode.)

hal_dal
8 - Asteroid

Thank you so much for your response!
The data will be coming from a database given to us, unfortunately that's a data managed by another team that we utilize so asking them add might not be an option :(

 

RJ_1988
6 - Meteoroid

In that case, for the first run, you can simply output the records coming from the database  in an excel file, and that can act as a reference data for your future runs.

2nd  day onwards, you will have 2 inputs, 1st being the reference excel file and 2nd being the database. Perform a join and add  todays date to the delta, and keep on appending the reference master data. (Assuming that the data is not very huge, it that case you can create a Alteryx database file for your usage).

hal_dal
8 - Asteroid

I ended up doing something similar but because I produce Tableau visuals after, I ended up using Tableau tools as my "output" and use the Tableau input tool to read the stored data (but logic wise, I ended up doing what you mentioned here)

Thanks!

Labels
Top Solution Authors