The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Rolling average on date format
Hello
I have a time series dataset.
I am trying to calculate the average demand over two periods of time which are:
- The week we are in now(today -3 days and today +3 days) but for the previous 2 years.
For example:
If today is 26th of August 2019
I need to run calculations on the records:
between 23rd August 2018 and 29th August 2018
and between 23rd August 2017 and 29th August 2017
So this will retrieve the average of these 14 rows.
I have in mind how to execute this in SQL but not on RapidMiner
Please help!
I have a time series dataset.
I am trying to calculate the average demand over two periods of time which are:
- The week we are in now(today -3 days and today +3 days) but for the previous 2 years.
For example:
If today is 26th of August 2019
I need to run calculations on the records:
between 23rd August 2018 and 29th August 2018
and between 23rd August 2017 and 29th August 2017
So this will retrieve the average of these 14 rows.
I have in mind how to execute this in SQL but not on RapidMiner
Please help!
0
Answers
Dortmund, Germany