Scheduling chores at a specific date
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
Scheduling chores at a specific date
Is there anyway to schedule chore on specific date especially for like data load or ODBC output? If you are required to upload or load data at a specific date. Currently, your only given the option for the number of minutes, hours & days and nothing for specific date.
-
- Site Admin
- Posts: 6647
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Scheduling chores at a specific date
It's the same sort of situation as was discussed in this recent thread. There's nothing to do it directly, so you need to improvise. The easiest way is to simply set the chore to run every day and (say it was supposed to run on the 10th) put this code in the prolog of the first process:appleglaze28 wrote:Is there anyway to schedule chore on specific date especially for like data load or ODBC output? If you are required to upload or load data at a specific date. Currently, your only given the option for the number of minutes, hours & days and nothing for specific date.
Code: Select all
If ( DAY ( TODAY ) <> 10 );
ChoreQuit;
EndIf;
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
Re: Scheduling chores at a specific date
Thanks Alan...I try to think of how to incorporate that since I'm thinking how it is done like for end of the month...since we have different end of month date either 30 or 31...maybe there was an easier way to define this.
-
- Site Admin
- Posts: 6647
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Scheduling chores at a specific date
If that's the case you may want to look at using either an attribute on a dates dimension, or some form of dates lookup cube. (The former was discussed in the other thread, though I prefer a cube solution since I find it more flexible.)appleglaze28 wrote:Thanks Alan...I try to think of how to incorporate that since I'm thinking how it is done like for end of the month...since we have different end of month date either 30 or 31...maybe there was an easier way to define this.
Rather than using the Day function you could check the attribute for the current date, or do a lookup in the cube (as the case may be) to determine whether the current date is an end of month.
Same basic principle, just a different test condition.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
- Michel Zijlema
- Site Admin
- Posts: 712
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Scheduling chores at a specific date
To calculate the last day of the month you could take the first day of the next month minus 1.appleglaze28 wrote:Thanks Alan...I try to think of how to incorporate that since I'm thinking how it is done like for end of the month...since we have different end of month date either 30 or 31...maybe there was an easier way to define this.
Michel
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
Re: Scheduling chores at a specific date
How can make my TI dynamic base on the look up cube since on my look up cube I defined the dimensions for Month & Year.
I assume I would require my Month dimension to need a month number alias to accomodate my needs? How do you reference lookup cubes in TI?
Can anyone help me out with this?
I assume I would require my Month dimension to need a month number alias to accomodate my needs? How do you reference lookup cubes in TI?
Can anyone help me out with this?
- Attachments
-
- LookupCube.JPG (38.91 KiB) Viewed 4194 times
-
- Rules1.JPG (66.8 KiB) Viewed 4193 times