Help! - Manual hierarchy maintenance

Post Reply
Misty
Posts: 10
Joined: Thu Jul 01, 2010 1:32 am
OLAP Product: TM1
Version: 9.5
Excel Version: 2003

Help! - Manual hierarchy maintenance

Post by Misty »

Hi there,

My users want to use TM1 (presumably Perspectives or TM1 Web?) to manually update a hierarchy when it changes (i.e. when a child moves to a different parent). More importantly, though, they may need to create new children/parents.

Does anyone have ideas on how this could be achieved? Essentially there is no 'measure', therefore it's not really suited to using cubes for this purpose, but they want to use TM1.

Thanks so much!
User avatar
Martin Ryan
Site Admin
Posts: 1989
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Help! - Manual hierarchy maintenance

Post by Martin Ryan »

Hi Misty,

This is a pretty fundamental part of TM1 - creating and updating dimensions is essential to any model. As such you'll find it very clearly covered off in the manuals that come with TM1.

Cheers,
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
Misty
Posts: 10
Joined: Thu Jul 01, 2010 1:32 am
OLAP Product: TM1
Version: 9.5
Excel Version: 2003

Re: Help! - Manual hierarchy maintenance

Post by Misty »

Thanks Martin but the users don't want to use Architect - they want a 'friendly' tool like Perspectives.

I actually just figured it out. (I'm VERY new to TM1!). I just created one dimension (the lowest level of the hierarchy) and a 'String'-type measure for each level of the hierarchy, that the users can enter free text into in Excel to write-back. A bit of a hack but that's what they want!

I think I'll try to write a TI process to at least populate the lowest level of the hierarchy from proper data, but if they mistype one of the levels, it's their problem.

Thanks
Alan Kirk
Site Admin
Posts: 6647
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: Help! - Manual hierarchy maintenance

Post by Alan Kirk »

Misty wrote:Thanks Martin but the users don't want to use Architect - they want a 'friendly' tool like Perspectives.

I actually just figured it out. (I'm VERY new to TM1!). I just created one dimension (the lowest level of the hierarchy) and a 'String'-type measure for each level of the hierarchy, that the users can enter free text into in Excel to write-back. A bit of a hack but that's what they want!

I think I'll try to write a TI process to at least populate the lowest level of the hierarchy from proper data, but if they mistype one of the levels, it's their problem.
That's... not maintaining a hierarchy, that's just storing a string in a cube. A hierarchy is a series of consolidation elements which will (usually) add lower level elements together to give totals. What you're doing won't achieve that.
"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.
Misty
Posts: 10
Joined: Thu Jul 01, 2010 1:32 am
OLAP Product: TM1
Version: 9.5
Excel Version: 2003

Re: Help! - Manual hierarchy maintenance

Post by Misty »

I know! It's very silly! But we're simply going to export out the 'parents' to import into a proper relational database that will do the aggregations. The users just want a friendly tool to deal with if/when they decide parents change.

Thanks again.
Alan Kirk
Site Admin
Posts: 6647
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: Help! - Manual hierarchy maintenance

Post by Alan Kirk »

Misty wrote:I know! It's very silly! But we're simply going to export out the 'parents' to import into a proper relational database that will do the aggregations. The users just want a friendly tool to deal with if/when they decide parents change.
I don't actually encourage this, and I've never done it operationally, but it is in fact possible to assign Admin permissions for a dimension to a non-Admin group. That means that it is possible for the users in that group to use either .xdis or the Dimension Editor to manually make their own changes to the dimension hierarchy.

Unfortunately it also means that they can accidentally delete elements (and therefore the associated data). Accordingly even if I ever did grant such permissions, it would be to a "dummy" dimension (one which is not used in any cube) that I would use a TI process to read the hierarchy from and assign to the "real" dimension.

TM1 is the far more effective place to be doing aggregations than a relational database is. (Even moreso if it's the painfully slow Access.) But even if it's not, TM1 will still (generally speaking) be far faster at aggregating data than a relational database will be.
"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
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: Help! - Manual hierarchy maintenance

Post by Michel Zijlema »

Hi,

You could set up an Excel sheet with an action button linked to a TI process.
In the Excel sheet (accessible through Perspectives or TM1Web) users can enter new or select existing child and parent elements depending on whether you want to rearrange the hierarchy or add new elements (selecting can be done using subnm formula's on the regarding dimension). After this they can click the action button that executes the TI process that picks up the parent and child elements from the sheet and updates the hierarchy.
The good thing of this approach is that the users don't need Admin rights on the dimension and you can build in checks in the process to avoid big mistakes.

Michel
Post Reply