Rule to avoid consolidation of total column

Post Reply
schia00
Posts: 2
Joined: Thu Mar 01, 2012 6:04 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2010

Rule to avoid consolidation of total column

Post by schia00 »

Hello! I'm new to TM1 so this might just be a simple question to you.

I have two dimensions: accounts (row) and values (col). The last column is a Total column. In this last column, I want to consolidate the data on leaf-level accounts, but avoid consolidation on non-leaf level accounts (consolidation on accounts). In the image attached I want to have a rule or conditional feeder to remove the consolidation identified in the red box. How can I go about this?

Code: Select all

SKIPCHECK;

[{'P01','P02','P03','P04','P05','P06','P07','P08','P09','P10','P11','P12'}] = N: IF(DB('calendarization',!account,'Method') @= 'Equal',1/12,stet);
C:0;
['Total'] = C: IF(ELLEV('calendarization',DB('calendarization',!account)) <> 0, 0, stet); 

FEEDERS;
['Method']=>['Total'];
Attachments
consolidating_totals.png
consolidating_totals.png (7.55 KiB) Viewed 2723 times
Andy Key
MVP
Posts: 352
Joined: Wed May 14, 2008 1:37 pm
OLAP Product: TM1
Version: 2.5 to PA
Excel Version: Lots
Location: Sydney
Contact:

Re: Rule to avoid consolidation of total column

Post by Andy Key »

I think you just mean:

Code: Select all

['Total'] = C: IF(ELLEV('Account', !account) > 0, 0, stet); 

Andy Key
schia00
Posts: 2
Joined: Thu Mar 01, 2012 6:04 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2010

Re: Rule to avoid consolidation of total column

Post by schia00 »

Yes.. that worked. :)
Post Reply