CosolidateChildren error

Post Reply
Mems
Posts: 58
Joined: Thu Apr 14, 2011 12:27 pm
OLAP Product: TM1
Version: v10.2.2
Excel Version: 2010
Location: South Africa

CosolidateChildren error

Post by Mems »

Hey All,

I am using tm1 v9.5.2 FP2, but have replicated the issue on tm1 v9.5.1 ans Express v9.5.

The rule I am using is

['Weighted Formula Calc Inners'] =
IF(ELLEV('Item',!Item)<>0,
ConsolidateChildren('Item'),
['Inner Case Cost']*['Inner Case']);

The problem being, the cube runs at about 1GB and when I open cube viewer and specifically ['Weighted Formula Calc Inners'] the server (24GB) runs out of memory.

I have also tried writing it in different ways...


['Weighted Formula Calc Inners'] =
IF(ELLEV('Item',!Item)=0,
['Inner Case Cost']*['Inner Case'],
ConsolidateChildren('Item');


['Weighted Formula Calc Inners' ] =N:['Inner Case Cost']*['Inner Cases'];
['Weighted Formula Calc']=C:
ConsolidateChildren('Item');

Thinking that it might have something to do with a circular ref of sort.

Any ideas?

Admin note: moved from the bugs forum as it's not yet a proved bug.
MEMS
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: CosolidateChildren error

Post by David Usherwood »

Are you using feeders? You need to, then you can drop ConsolidateChildren. CC has its uses but can be very memory hungry.
Mems
Posts: 58
Joined: Thu Apr 14, 2011 12:27 pm
OLAP Product: TM1
Version: v10.2.2
Excel Version: 2010
Location: South Africa

Re: CosolidateChildren error

Post by Mems »

David,

I broke it down to just one cube to fix the error.

The one extra rule.

['Inner Case Cost' ]=['Activity Cost']\['Inner Case']

Feeders;

['Inner Case' ]=>['Inner Case Cost' ] ;
['Inner Case' ] => ['Weighted Formula Calc Inners' ];
['Inner Case' ]=> ['Weighted Inner Case Cost' ];

The cube has 6 dimensions. Really small cube. Without the CC if I expand all elements the cube runs at 1GB. With CC server crashes.

Thanks,
MEMS
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: CosolidateChildren error

Post by Duncan P »

So do you have a satisfactory solution not using ConsolidateChildren? I couldn't quite make out from your post if your problem was resolved.
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: CosolidateChildren error

Post by David Usherwood »

If you are doing weighted averages you need to roll them up:

Code: Select all

['Weighted Formula Calc Inners'] = n:
  ['Inner Case Cost']*['Inner Case']
  ;

Mems
Posts: 58
Joined: Thu Apr 14, 2011 12:27 pm
OLAP Product: TM1
Version: v10.2.2
Excel Version: 2010
Location: South Africa

Re: CosolidateChildren error

Post by Mems »

Hey,

Nope I believe I have to use ConsolidateChildren

https://docs.google.com/a/venncubed.co. ... li=1#gid=0

Please see URL

I want to get the 2.39.

My calcs are as follow

Code: Select all

Skipcheck;

['Case Cost' ]=['Total Activity Cost']\['Cases']

['Weighted Formula Calc'] =
IF(ELLEV('Item',!Item)<>0,
ConsolidateChildren('Item'),
['Case Cost']*['Cases']);

Feeders;

['Cases' ]=>['Case Cost' ] ;
['Cases' ] => ['Weighted Formula Calc' ];
['Cases' ]=> ['Weighted Case Cost' ];


Last edited by Mems on Tue Jul 10, 2012 1:51 pm, edited 1 time in total.
MEMS
Mems
Posts: 58
Joined: Thu Apr 14, 2011 12:27 pm
OLAP Product: TM1
Version: v10.2.2
Excel Version: 2010
Location: South Africa

Re: CosolidateChildren error

Post by Mems »

Apologies,
Attachments
ConsolidateChildren.xlsx
(10.05 KiB) Downloaded 407 times
MEMS
Mems
Posts: 58
Joined: Thu Apr 14, 2011 12:27 pm
OLAP Product: TM1
Version: v10.2.2
Excel Version: 2010
Location: South Africa

Re: CosolidateChildren error

Post by Mems »

Any feedback, regarding alternative ways except consolidatechildren to calculate?
MEMS
declanr
MVP
Posts: 1830
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: CosolidateChildren error

Post by declanr »

Mems wrote:Hey,

Nope I believe I have to use ConsolidateChildren

https://docs.google.com/a/venncubed.co. ... li=1#gid=0

Please see URL

I want to get the 2.39.

My calcs are as follow

Code: Select all

Skipcheck;

['Case Cost' ]=['Total Activity Cost']\['Cases']

['Weighted Formula Calc'] =
IF(ELLEV('Item',!Item)<>0,
ConsolidateChildren('Item'),
['Case Cost']*['Cases']);

Feeders;

['Cases' ]=>['Case Cost' ] ;
['Cases' ] => ['Weighted Formula Calc' ];
['Cases' ]=> ['Weighted Case Cost' ];




Having had a look at your excel example (if I followed it correctly) I think you could solve your problem by simply using an =N: as below:

Code: Select all

Skipcheck;

['Case Cost' ]=['Total Activity Cost']\['Cases']

['Weighted Formula Calc'] =N:
['Case Cost']*['Cases'];

['Weighted Case Cost']=
['Weighted Formula Calc'] \ ['Cases'];

Feeders;

['Cases' ]=>['Case Cost' ] ;
['Cases' ] => ['Weighted Formula Calc' ];
['Cases' ]=> ['Weighted Case Cost' ];

Or have I missed something really obvious, because the above code would be the equivalent of changing cell E2 in your example to be SUM(E3:E10) which would sebsequently change F2 to equal 2.39...
Declan Rodger
Mems
Posts: 58
Joined: Thu Apr 14, 2011 12:27 pm
OLAP Product: TM1
Version: v10.2.2
Excel Version: 2010
Location: South Africa

Re: CosolidateChildren error

Post by Mems »

Hahahaha, ok I should get a new job :) thanks! My apologies for wasting time.
MEMS
Post Reply