Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula to find Previous Friday date

Kaish
8 - Asteroid

I have a requirement where I want to add previous Friday date in my excel output Ex - (Output-16May25), So if I run this on any day of the week it should five previous Fridays date in this format, so if I am running this file on 28th May the output should be (Output-23May25) , Can someone help me find the solution ?

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@Kaish 
We can get first the Weekday (1-7) with Identifier "%u" then do some calculation as below.

0519-Kaish.jpg

davidskaife
14 - Magnetar

Hi @Kaish 

 

Here is one way of doing it:

 

Screenshot 2025-05-19 124430.png

Labels
Top Solution Authors