Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Time Series Forecasting: Actual Data Shift 7 Days after Forecasting

dreldrel
7 - Meteor

Hi all,

 

I face an issue that the actual data shifts 7 days after the TS forecast tool. For example, the data period is from 1st Jan to 31th Jan, it will change from 8th Jan to 7th Feb after forecasting. I've enclosed the sample file below, is there any way to address it?

 

Many thanks in advance!

7 REPLIES 7
Matthew
11 - Bolide

perhaps you can just shift it back?

DateTimeAdd( [Field1] , -7 , 'days' )

OllieClarke
15 - Aurora
15 - Aurora

@dreldrel My best guess here is there's a disparity between Alteryx and R counting week numbers from 0 vs from 1.

 

I'd log it as a bug with support

DataNath
17 - Castor
17 - Castor

Looks like it may be to do with this default date? Pulled from https://help.alteryx.com/20221/designer/ets-tool

 

DataNath_4-1665759784489.png

 

 

I just added a random bunch of days and re-ran the workflow and still get exactly the same time period/forecast in the output:

 

DataNath_2-1665759745280.pngDataNath_3-1665759769211.png

dreldrel
7 - Meteor

Hi all,

 

Many thanks for all your responses, so is there any temporary solution I can use for the case at the moment?

DataNath
17 - Castor
17 - Castor

Hey @dreldrel I'm not aware of one - from the help page linked above it looks like this is just a random date that is used in the forecast display. Perhaps you could just use RecordIDs to represent the dates and the output will be in # of periods rather than a date which may be less confusing?

dreldrel
7 - Meteor

Hi @DataNath. thanks for your response. I'll try the method you suggested and see how it works. Many thanks again!

DataNath
17 - Castor
17 - Castor

No problem at all. Would be curious to see if there is actually a way of maintaining date ranges though, will keep an eye on this!

Labels
Top Solution Authors