Wednesday, December 26, 2012


Essbase Hierarchy

Essbase, being a multidimensional OLAP tool, hierarchy is of utmost importance as aggregation in Essbase depends on its hierarchical structure. 
Under each dimension in Essbase, we see other members to branch out which further branch out to several others.
For example:
Year
      Qtr1
              Jan
              Feb
              Mar
      Qtr2
              Apr
              May
              Jun                     etc.

We can view Essbase hierarchy from three points of views: Genealogy, Generation, Level.

1. Genealogy: From this point of view, the member at the top most level is the ancestor of the one below it. In this example, Year is the ancestor of Jan, Feb. Jan is the descendant of Year. Year is the parent of Qtr1 and Qtr2, and Qtr1 and Qtr2 are the children of Year. Jan, Feb, and March are siblings. 

2. Generation: We also use G1, G2, G3, etc for generation reference. The member at the top is Generation1, so in this case, Year is G1 or generation1, followed by Qtr1 and Qtr2 being G2, and Jan to Jun being G3. So, G starts from 1 and increases as we drill down towards lower members in the hierarchy.

Level: Level reference works opposite to Generation reference and it starts with the number 0. This means the members at the lowest level in the hierarchy is Level 0 and the level increases as we go higher. In this example, Jan, Feb, Mar, etc are the bottom-level members, so they are Level 0 members. Qtr1 and Qtr2, in this example, are Level 1 members and Year Level 2. The bottom-level members are also referred to as leaf members.



No comments: