One thing has puzzled me since we got TM1. When creating a dimension hierarchy, why should elements be created at the N level as well as being created as children of their parent? See below for example. Does this not result in the unnecessary duplication of dimension elements? Am I missing something basic? Thanks for all replies in advance.
All Countries
-->england
-->scotland
-->wales
n england
n scotland
n wales
Why duplicate elements
-
- Community Contributor
- Posts: 109
- Joined: Thu Feb 26, 2009 8:44 am
- OLAP Product: TM1
- Version: 9 + 10 + Plan An
- Excel Version: All
- Location: Isle of Wight, UK
Why duplicate elements
"the earth is but one country, and mankind its citizens" - Baha'u'llah
-
- Site Admin
- Posts: 6667
- 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: Why duplicate elements
Very basic, I'm afraid. N level elements only exist once in a dimension. However they can appear multiple times within a consolidation hierarchy, or within multiple consolidation hierarchies.iansdigby wrote:One thing has puzzled me since we got TM1. When creating a dimension hierarchy, why should elements be created at the N level as well as being created as children of their parent? See below for example. Does this not result in the unnecessary duplication of dimension elements? Am I missing something basic? Thanks for all replies in advance.
All Countries
-->england
-->scotland
-->wales
n england
n scotland
n wales
Think of it this way; imagine that you have a list of values in one column of an Excel worksheet. In other places in the workbook you can use Sum() formulas to add some or all of those values. Each Sum() formula is independent of any others that you create (unless it's used as an argument to one of the other Sum() formulas), but all point to cells which make up the one basic list of values. The values are entered only once in the worksheet, but can appear in many calculations within that sheet.
So it is with N level elements, and consolidations.
They aren't actually created as children in any real sense; for practical purposes (and technically I may be oversimplifying, but I did say for practical purposes) the consolidations simply reference them, just as the Sum() formulas reference the Excel values.
"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.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Community Contributor
- Posts: 147
- Joined: Mon Nov 29, 2010 6:30 pm
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: Office 2010
Re: Why duplicate elements
Hi Ian,
The element is created as the data container, and then the hierarchy describes it's consolidation relationships.
This allows for you to modify these hierarchy relationships (i.e remove an element from the hierarchy) without having the delete the data container in order to change the relationship.
It also allows you to describe multiple hierarchy relationships without having to create duplicate data containers to hold what would be the same data.
Please note that whilst you may see the same element multiple times in a dimension, it is not duplicated. You can prove this by selecting one of these elements in the subset editor and using the (red) Roll Up button to see it's parents - the same element contains all the hierarchy relationships it is a member of.
The element is created as the data container, and then the hierarchy describes it's consolidation relationships.
This allows for you to modify these hierarchy relationships (i.e remove an element from the hierarchy) without having the delete the data container in order to change the relationship.
It also allows you to describe multiple hierarchy relationships without having to create duplicate data containers to hold what would be the same data.
Please note that whilst you may see the same element multiple times in a dimension, it is not duplicated. You can prove this by selecting one of these elements in the subset editor and using the (red) Roll Up button to see it's parents - the same element contains all the hierarchy relationships it is a member of.
-
- Community Contributor
- Posts: 109
- Joined: Thu Feb 26, 2009 8:44 am
- OLAP Product: TM1
- Version: 9 + 10 + Plan An
- Excel Version: All
- Location: Isle of Wight, UK
Re: Why duplicate elements
Alan and Christoper,
Thank you both for taking the trouble to reply and for so succinctly and brilliantly explaining this. Now I understand!
Regards, Ian
Thank you both for taking the trouble to reply and for so succinctly and brilliantly explaining this. Now I understand!
Regards, Ian
"the earth is but one country, and mankind its citizens" - Baha'u'llah