Free Trial

Alteryx Designer Desktop Discussions

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

Calculate specific day before and next day

OscarCuevas
6 - Meteoroid

Can you help me? please

 

How can I calculate the previous Thursday and next Wednesday of the column Dateline?

 

Regards!

 

DatelineReview day
 (previous thursday)
Payment day
(next wednesday)
04/02/2021  
13/02/2021  
01/03/2021  
07/03/2021  
26/02/2021  
1 REPLY 1
Luke_C
17 - Castor
17 - Castor

Hi @OscarCuevas 

 

See attached sample:

 

  1. I use a generate rows tool to create rows for 7 days before and after each date
  2. Dates are filtered to the previous thursday and next wednesday
  3. I re-format the dates to the dd/mm/yyyy format
  4. Crosstab is used to get the dates into columns

 

Let me know if this works for you

Luke_C_0-1617060393869.png

 

Labels
Top Solution Authors