Ragged Hierarchies

In Essbase, an individual hierarchy has the same number of members above it as any other member at the same level. In a ragged hierarchy, the logical parent member for one member is not in the level directly above the member.

In the following example Qtr2 does not have children in the query. Because only the lowest level members are included in the query, the Results set includes: Jan, Feb, Mar, and Qtr2. For the “month” value for Qtr2, the label is blank.

Table 57. Ragged Hierarchy in CubeQuery Section

 Product
Jan8024
Feb8346
Mar8333

Qtr1

24703

Qtr2

27107

Table 58. Ragged Hierarchy in Results Set

QuarterMonthGen1,Product Value
Qtr1JanProduct8024
Qtr1FebProduct8346
Qtr1MarProduct8333
Qtr2(blank)Product27107

If a child member does not have a parent member in the original query, the parent or any other ancestor is included in the Results set:

Table 59. Ragged Hierarchy in CubeQuery Section

 Product
Jan8024
Feb8346
Mar8333

Qtr1

24703
Dec8780

Table 60. Ragged Hierarchy in Results Set

QuarterMonthGen1,ProductValue
Qtr1JanProduct8024
Qtr1FebProduct8346
Qtr1MarProduct8333
Qtr4DecProduct8780