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.
SOLVED

Monthly to daily

apaicanada
7 - Meteor

I would like to convert my monthly values to daily values (i.e. just duplicating the values I have for each item for each day of the month).

 

I currently have this:

 

 

RecordCommodityValueDate

1

Oil8002010-01-01
2Natural Gas7002010-01-01
3Diesel6002010-01-01
4Oil9002010-02-01
5Natural Gas6502010-02-01
6Diesel2002010-02-01

 

But would like it to be like: 

 

RecordCommodityValueDate

1

Oil8002010-01-01
2Oil8002010-01-02
3Oil8002010-01-03
4Oil8002010-01-04
5Oil8002010-01-05
6Oil8002010-01-06
etcetcetcetc

 

And so on for each commodity for year and each month till the end of my dataset (which goes till 2021, but I would like it to be dynamic). 

 

I have tried some formulas and row generations but am not getting too far. Any help is appreciated!

 

Thanks so much,

Akarsh

            

3 REPLIES 3
Thableaus
17 - Castor
17 - Castor

Hi @apaicanada 


This should work

 

GenerateRowsDate.PNG

 

Date2 is your daily date Field.

 

WF attached.

 

Cheers,

DiganP
Alteryx Alumni (Retired)

@apaicanada You can use the generate rows tool to create the rows.

 2019-10-25_8-52-50.png

Attached is the workflow.

Digan
Alteryx
LordNeilLord
15 - Aurora

Hey @apaicanada 

 

Generate rows is your friend here:

Capture.PNG

Labels