Good morning, colleagues!
I faced with a problem of building time average elements in the dimension.
I worked with Cognos Planning for a long time, and it's very simple to make time or weight average through the dimension settings.
Is there a short way to do so in TM1?
I have a few dimensions and i need one element to be time average in aggregation.
Thanks!
Regards,
Alex
Time average
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: Time average
Best way is a rule on the lines of:
['Count'] = n:abs(sign( ['Value']));
['Average'] = ['Value'] \ ['Count'];
#(Notice N on the count, to get it to add up, but not on the average, to get it to work at all levels)
(Don't forget the feeders...)
['Value'] => ['Count'],['Average'];
As you are finding, in TM1, your calculations need to be written explicitly - you don't have the built in features of EP. But the rules engine is extremely powerful and doing this type of thing is pretty quick.
You could always do a rules course - Cognos offer them and so do we
David Usherwood
InfoCat
['Count'] = n:abs(sign( ['Value']));
['Average'] = ['Value'] \ ['Count'];
#(Notice N on the count, to get it to add up, but not on the average, to get it to work at all levels)
(Don't forget the feeders...)
['Value'] => ['Count'],['Average'];
As you are finding, in TM1, your calculations need to be written explicitly - you don't have the built in features of EP. But the rules engine is extremely powerful and doing this type of thing is pretty quick.
You could always do a rules course - Cognos offer them and so do we

David Usherwood
InfoCat
- rodrigo
- Posts: 49
- Joined: Tue Jun 03, 2008 10:34 pm
- OLAP Product: TM1, Executive Viewer
- Version: 9.4 MR1 with FP3
- Excel Version: 2003
Re: Time average
There are no functions like BIF or wizards for time in TM1 like Cognos Planning to do that.
Other options can be with consolidations members using equal weights on leaf levels. For example on the month dimension use a new "parent" called Total Year Avg Consolidation element and put months as children. On each month create on properties a weight of 0,083333 (1/12) for each month leaf level.
Regards,
Other options can be with consolidations members using equal weights on leaf levels. For example on the month dimension use a new "parent" called Total Year Avg Consolidation element and put months as children. On each month create on properties a weight of 0,083333 (1/12) for each month leaf level.
Regards,
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: Time average
Weighting is a possibility, but I would argue that it's rather inflexible.
- rodrigo
- Posts: 49
- Joined: Tue Jun 03, 2008 10:34 pm
- OLAP Product: TM1, Executive Viewer
- Version: 9.4 MR1 with FP3
- Excel Version: 2003
Re: Time average
Yeah I know.. 

- Martin Ryan
- Site Admin
- Posts: 1989
- Joined: Sat May 10, 2008 9:08 am
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2010
- Location: Wellington, New Zealand
- Contact:
Re: Time average
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Jodi Ryan Family Lawyer
Re: Time average
Thanks a lot, friends!
You're helping great!
Regards,
Alex
You're helping great!
Regards,
Alex