Alteryx Designer Desktop Discussions

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

How to increase each every date +1 until +4

acaryasin01
8 - Asteroid

 

Hi,

 

I have a table like below

 

Date
9-5-2022
16-5-2022
23-5-2022
30-5-2022
6-6-2022
13-6-2022
20-6-2022
27-6-2022
4-7-2022
11-7-2022
18-7-2022

 

But I want to increase each every date +1 until +4 like below desired column

 

DateDesired Date
9-5-20229-5-2022
 10-5-2022
 11-5-2022
 12-5-2022
 13-5-2022
16-5-202216-5-2022
 17-5-2022
 18-5-2022
 19-5-2022
 20-5-2022
23-5-202223-5-2022
 24-5-2022
 25-5-2022
 26-5-2022
 27-5-2022

 

Thanks in advance...

 

 

 

2 REPLIES 2
Matthew
11 - Bolide

here's what i would do

 

use a summarise tool to get a list of all the unique dates

use a generate rows tool to get each of those dates plus 1, 2,3 and ,4

 

then join those back onto the original dataset

 

attached is an example

 

Matthew_0-1652454266465.png

 

acaryasin01
8 - Asteroid

Much appreciate @Matthew 

 

It's working 👍🙏😊

Labels