Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
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