Free Trial

Alteryx Designer Desktop Discussions

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

Returning Wednesday's Date based on 2nd Date in the week.

knobsdog
8 - Asteroid

I have a question that revolves around pulling back the date of Wednesday of a date in the same week.  So for instance if the Completed Date is 4/20/2023 it would bring back a Batch Date of 4/19/2023,  if the Completed Date is 4/25/2023 it would bring back 4/26/2023.  I'm using Monday as day 1 and tried creating week numbers to compare my Completed Date week # and the current week # but it's not working.  Any help would be greatly appreciated.

 

Completed DateShould show Batch Date
4/25/20234/26/2023
5/2/20235/3/2023
5/4/20235/3/2023
2 REPLIES 2
PhilipMannering
16 - Nebula
16 - Nebula

Hi @knobsdog 

 

You want to get the Wednesday of the week if I understand correctly? This should do the trick...

PhilipMannering_0-1682456319537.png

 

knobsdog
8 - Asteroid

That's it, thank you so much for your help.

Labels
Top Solution Authors