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

Friday Date Output

clarrock
8 - Asteroid

Hi,

 

How can I output dates that always gives the previous Friday date

Eg if today is 2021/01/30 then the output  would be 2021/01/29

Such that with any days run it would give the previous Fridays date. If it runs on a Friday it should give current date

Is this possible? 

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@clarrock 

Yes, Sir.😁

0130-porpergrey.PNG

AngelosPachis
16 - Nebula

Hi @clarrock ,

 

I've used a generate tows tool to generate all dates from today until the previous week (past 7 days). Then with the formula tool you can get the day of the week and filter to only keep a Friday.

 

AngelosPachis_0-1611994880373.png

 

Every time you run the workflow, the generate rows tool will dynamically update today's date, so there is no need to make any changes to the configuration of the tool.

 

Hope that helps,

 

Cheers,

 

Angelos

Labels
Top Solution Authors