Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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
13 - Pulsar

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

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

 

binuacs
20 - Arcturus

@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