You must define at least
one hierarchy for each dimension. Specifically, each DIMENSION statement
must identify at least one unique HIERARCHY statement. The maximum
number of hierarchies that can be defined in a cube is 128. Mathematically,
the sum is expressed as follows:
MaxHiers = NumMultHiers + NumDimensions = 128
All hierarchies other
than the first hierarchy in each dimension apply to the total. Levels
in the same dimension can be shared between hierarchies. You can have
a maximum of 19 levels per hierarchy. There is no limit to the number
of hierarchies per dimension.
Here are some examples
of cubes that meet the maximum number of hierarchies:
-
128 dimensions, each dimension
has 1 hierarchy
-
127 dimensions, 1 dimension has
2 hierarchies
-
126 dimensions, 1 dimension has
3 hierarchies
-
126 dimensions, 2 dimensions have
2 hierarchies