In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Generate rows between dates

caldowd1998
5 - Atom

Hi community

 

I have a table like the top one below which i am trying to convert to match the table below, so there is a row for every date. How would i do this ?

 

many thanks !

 

ProductValid FromValid TooCost
Playstation01.01.202205.01.2022£100

 

ProductDateCost
Playstation01.01.2022£100
Playstation02.01.2022£100
Playstation03.01.2022£100
Playstation04.01.2022£100
Playstation05.01.2022£100
4 REPLIES 4
davidskaife
14 - Magnetar

Hi @caldowd1998 

 

The generate rows tool is your friend here:

 

DavidSkaife_0-1655291413678.png

 

I've attached a sample workflow for you to look at - note you'd need to format/change the date fields if they are not specifically in a date format

DataNath
17 - Castor
17 - Castor

One way of doing this with generate rows - If you're not precious about the format of your date being dd.mm.yyyy then you can just remove the formula tool I've added:

 

DataNath_0-1655291717629.png

 

binu_acs
21 - Polaris

@caldowd1998 one way of dong this

 

binuacs_0-1655304468118.png

 

ddiesel
13 - Pulsar
13 - Pulsar

Hi @caldowd1998! Did any of these solutions work for you?

Labels
Top Solution Authors