Time average

Post Reply
spudmusic
Posts: 9
Joined: Wed Jan 28, 2009 9:45 am

Time average

Post by spudmusic »

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
David Usherwood
Site Admin
Posts: 1453
Joined: Wed May 28, 2008 9:09 am

Re: Time average

Post by David Usherwood »

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
User avatar
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

Post by rodrigo »

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,
David Usherwood
Site Admin
Posts: 1453
Joined: Wed May 28, 2008 9:09 am

Re: Time average

Post by David Usherwood »

Weighting is a possibility, but I would argue that it's rather inflexible.
User avatar
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

Post by rodrigo »

Yeah I know.. :)
User avatar
Martin Ryan
Site Admin
Posts: 1988
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

Post by Martin Ryan »

There are a couple of suggestions here.

Martin
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
spudmusic
Posts: 9
Joined: Wed Jan 28, 2009 9:45 am

Re: Time average

Post by spudmusic »

Thanks a lot, friends!
You're helping great!

Regards,
Alex
Post Reply