C: rule and next consolidation level

Post Reply
EP_explorer
Regular Participant
Posts: 221
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

C: rule and next consolidation level

Post by EP_explorer »

Example from Sdata
01.JPG
01.JPG (32.74 KiB) Viewed 4560 times
And only rule

Code: Select all

SKIPCHECK;
['1 Quarter' ]  = C: 5 ;
I need that 1 Quarter wil be added to the Year. Is possible to do it (after I put C: rule to 1 Quarter)?
We see that TM1 consolidated to Year only Feb detail value and ignored rule based 1 Quarter value

Or TM1 use only detail elements for consolidation and ignore C: level intermediate elements?
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: C: rule and next consolidation level

Post by jim wood »

In the refernce guide you'll find:

Code: Select all

ConsolidateChildren(DimName1, DimName2, ...)
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: C: rule and next consolidation level

Post by BariAbdul »

EP_explorer wrote:Example from Sdata
01.JPG
And only rule

Code: Select all

SKIPCHECK;
['1 Quarter' ]  = C: 5 ;
I need that 1 Quarter wil be added to the Year. Is possible to do it (after I put C: rule to 1 Quarter)?
We see that TM1 consolidated to Year only Feb detail value and ignored rule based 1 Quarter value

Or TM1 use only detail elements for consolidation and ignore C: level intermediate elements?
Ok.But doesn't it give incorrect totals and what is the need to add subtotals to the totals.Sorry for not getting it.Thanks
"You Never Fail Until You Stop Trying......"
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: C: rule and next consolidation level

Post by David Usherwood »

Since you want (for reasons I do not follow) to interfere with the natural consolidation calculation, you need to consolidate year explicitly ie

Code: Select all

['Year'] = consolidatechildren('Month');
EP_explorer
Regular Participant
Posts: 221
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

Re: C: rule and next consolidation level

Post by EP_explorer »

Thank you for anwer.

it helps
although it neccessary to add all intermediate consoliadtion elements in hierarchy.
For the same example if we want to sum through region hiearachy
2.JPG
2.JPG (49.02 KiB) Viewed 4531 times
It is neccessary to add in ConsolidatedChildren both 'World' and 'Europe'

Code: Select all

SKIPCHECK;
['Scandinavia' ] = C: 18 ;
[{'World','Europe'} ] = ConsolidateChildren('region');
if we add only Europe we will see correct value in Europe but incorrect in World
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: C: rule and next consolidation level

Post by BariAbdul »

Sorry ,I am still at loss,Doesn't Europe value added naturally to world by TM1 natural consolidations.
"You Never Fail Until You Stop Trying......"
EP_explorer
Regular Participant
Posts: 221
Joined: Sat Dec 04, 2010 2:35 pm
OLAP Product: PAL
Version: 2.0.9
Excel Version: 2016

Re: C: rule and next consolidation level

Post by EP_explorer »

BariAbdul wrote:Sorry ,I am still at loss,Doesn't Europe value added naturally to world by TM1 natural consolidations.
I would be better if it does
but consolidatechildren function sums only children of the element which you put before it.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: C: rule and next consolidation level

Post by tomok »

When you have a nested consolidation, like what you have with World, then each underlying consolidation is treated as a separate entity. What that means is that World looks at all the N level elements underneath it and sums them according to their weights, it does not calculate Europe and America and then add them to get World. This is why modifying Europe, so that it is not what the natural consolidation would make it, will not carry forward to World.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
Post Reply