TM1 client · Docs · TM1 types
Hierarchy
A hierarchy organizes dimensions into a hierarchical structure, with each dimension representing a different level of the hierarchy.
A type of TM1 itself, from its REST API metadata, the same in every language. A property is a method in Java (cube.name()), and a property in Python (cube.name), .NET and TypeScript (cube.Name).
| Property | Type | |
|---|---|---|
Name | String required | The name of the hierarchy. |
UniqueName | String | The caption of the hierarchy. |
Cardinality | Int32 | The cardinality of a relationship is the number of related rows for each of the two query subjects. |
Structure | Int32 | Specifies whether the hierarchy is balanced or unbalanced. |
Visible | Boolean | Indicates if this hierarchy should be visible to consumers. |
Attributes | Attributes | The attributes of the hierarchy. |
Dimension | Dimension required | A dimension that is part of the hierarchy. |
Elements | list of Element | The elements of the hierarchy. |
Edges | list of Edge | The edges of the hierarchy. |
Subsets | list of Subset | The subsets of the hierarchy. |
PrivateSubsets | list of Subset | The private subsets of the hierarchy. |
SessionSubsets | list of Subset | The session-scoped subsets generated on this hierarchy. |
Members | list of Member | The members of the hierarchy. |
AllMember | Member | An aggregation of all of the members of the hierarchy. |
DefaultMember | Member | The default member of the hierarchy. |
Levels | list of Level | A collection of levels in the hierarchy. |
LocalizedAttributes | list of LocalizedAttributes | Translated string values for properties of the hierarchy. |
ElementAttributes | list of AttributeDefinition | The attributes of the elements of the hierarchy. |
SubsetAttributes | list of AttributeDefinition | The attributes of the subsets of the hierarchy. |