Define Multiple Hierarchies for the Same Dimension in OBIEE Repository
Sometimes we need to have more hierarchies on a Dimension
Logical Table. In this case we need to create a hierarchy
and at one moment we need to create a branch for an existing
hierarchy.
Supposing we have a hierarchy which group the Products by
quality.
Take a look at the following screen:
We need to group the products by "Product Type" as well.
The 2 hierarchies must have a common point. This point in my
case is "Product Total".
For this reason, we have to right-click on the "Product
Total" hierarchy level, choose "New Object" and after that
"Child Level". In this way you will add a "Product Type"
level under "Product Total".
Take a look at the following screen:
Drag and drop the "PRODUCT_TYPE" column on the "Product
Type" hierarchy level and you will see something like this:
Right-click on the "Product Total" hierarchy level, choose
"New Object" and after that "Shared Level as Child".
The following screen will appear:
Choose "Product Details" and click on "OK" and you will see
the OBIEE Repository modified with the new product details
added:
Now add the key for the "Product Type":
Click on "OK" and you will see something like this:
At this point you have 2 hierarchies for Product Dimension.
Save and check the consistency for your repository.
When you run the report, you must see something like this: