Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

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

Date generation

ABC_Anonymous
6 - Meteoroid

Hello, I wanted to create an iterative macro to generate the closing dates of 2 years before a specific date for Example : for the date 2024-06-30

 

Input :

QYDate
Q3_20242024-09-30

 

Output :

QYDate
Q3_20242024-09-30
Q3_20242024-06-30
Q3_20242024-03-31
Q3_20242023-12-31
Q3_20242023-09-30
Q3_20242023-06-30
Q3_20242023-03-31
Q3_20242022-12-31
Q3_20242022-09-30
1 REPLY 1
alexnajm
18 - Pollux
18 - Pollux

You shouldn't need an iterative macro - the Generate Rows tool should work! Just do a bit of work after (or adjust the logic) to make sure you are getting the actual end of the month rather than the 30th

Labels
Top Solution Authors