Hierarchy Hell

Post Reply
User avatar
ADW
Posts: 32
Joined: Tue Jun 14, 2011 11:10 am
OLAP Product: Cognos Express
Version: 9.5
Excel Version: 2010
Location: Cheshire, England

Hierarchy Hell

Post by ADW »

I have a problem. Trying to get our HR guys on board with TM1. They have a HR structure in our accounting system (SAP) called org unit. Here is my problem:

Consolidated items contain their own values that need to be added to the consolidation, as below.

CEO (1)
---- PERS (20)
---- IS (25)
---- FIN (30)

Should be:

CEO (76) (Note: the 1 added in)
---- PERS (20)
---- IS (25)
---- FIN (30)

TI won't post to C level. So I created a flat hierarchy dimension and cube which I can post the numbers to. How can I then trick the system into doing the roll up I want?
User avatar
Michel Zijlema
Site Admin
Posts: 712
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: Hierarchy Hell

Post by Michel Zijlema »

Hi,

You indeed can't store data on a consolidated level. A typical way to get this working in TM1 would be to build the hierarchy like:

Total CEO (76)
---- CEO (1)
---- PERS (20)
---- IS (25)
---- FIN (30)

IMO this is also a more transparant way of showing where the numbers are located.

Michel
Christopher Kernahan
Community Contributor
Posts: 147
Joined: Mon Nov 29, 2010 6:30 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: Office 2010

Re: Hierarchy Hell

Post by Christopher Kernahan »

If they insist on having this method then you could store it as a String element against each level of the heirachy.

But, really. Fight this as strongly as possible.
User avatar
ADW
Posts: 32
Joined: Tue Jun 14, 2011 11:10 am
OLAP Product: Cognos Express
Version: 9.5
Excel Version: 2010
Location: Cheshire, England

Re: Hierarchy Hell

Post by ADW »

Hi Michael,

Thank you for your reply. I have implemeted this and it seems to work of (just need to adjust the TI to remove 'Total' group names with only one child). Certainly produces the numbers I need.

Christopher,

Appologies but I don't really understand your comment.

Cheers,

Adam
Wim Gielis
MVP
Posts: 3223
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Hierarchy Hell

Post by Wim Gielis »

ADW wrote:Christopher,

Appologies but I don't really understand your comment.

Cheers,

Adam
Leave it the way you have it now, that is the preferred approach.
Christopher only commented in case HR still wanted to write values to consolidations. Try to avoid it as much as possible.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Alan Kirk
Site Admin
Posts: 6645
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Hierarchy Hell

Post by Alan Kirk »

Wim Gielis wrote:
ADW wrote:Christopher,

Appologies but I don't really understand your comment.

Cheers,

Adam
Leave it the way you have it now, that is the preferred approach.
Christopher only commented in case HR still wanted to write values to consolidations. Try to avoid it as much as possible.
I agree with Wim but just to answer ADW's question for future reference; level 0 data in TM1 comes in two flavours, N elements and S elements. N type stores (Numeric) values, S types (which can only appear in the last dimension of a cube) store "strings" (or text, for the non-technical).

You can never write values directly to a numeric consolidation, but you can to a string consolidation. But, of course, if you store a value as a string you can't effectively calculate with it. (Slight oversimplification, but go with it.)

It's a way of working around your problem but as has already been stated you definitely shouldn't do it if you can avoid it.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
User avatar
ADW
Posts: 32
Joined: Tue Jun 14, 2011 11:10 am
OLAP Product: Cognos Express
Version: 9.5
Excel Version: 2010
Location: Cheshire, England

Re: Hierarchy Hell

Post by ADW »

Thanks all for your excellent replies
Post Reply