There was a question yesterday on the forums regarding the usage/availability of Multiple Hierarchies for a single dimension. I thought i would blog about it since there is very little documentation on this. Now let us take an example and try to understand what multiple hierarchies are and where they are used. Classic example for this would be the Time Dimension. In time dimension we can have a hierarchy based on Calendar Year, Quarter, Month and Day and the Fiscal Year, Quarter, Month and Day. BI EE can accommodate such possible multiple hierarchies within the same dimension. Let’s try to build one for a Product Dimension. There are certain ground rules for building multiple hierarchies for the same dimension.
1. There must be a unique key for the dimension at the lowest level.
2. This unique key must be shared by all the multiple hierarchies i.e. all the hierarchies should have their last levels as a level with the unique key.
3. All the hierarchies should roll up to the top Total Level. And Top Level attributes should not have a Logical Key defined.
In our case, we have a unique key called DIMENSION_KEY which would form the last level. Our aim is to build 2 hierarchies like this
Pack Size Category
Products Sub-Category
DIMENSION_KEY
i.e
Hierarchy1 = Total Level -> Pack Size -> Products -> Unique Dimension Key
Hierarchy2 = Total Level -> Category -> Sub-Category -> Unique Dimension Key
As you see above DIMENSION_KEY is a shared level by both Products and sub-category. Now let’s start building the hierarchy.
Once we have reached till the 3 level for both the hierarchies, create a child level for the level Sub-Category. The child level would be DIMENSION_KEY.
After this create a Shared Child Level for the Products level and use the DIMENSION_KEY for this shared level.
Now we have basically created a dimension containing 2 hierarchies. Just test it out to see whether you get the proper drill downs.
Appreciation for nice Updates, I found something new and folks can get useful info about BEST OBIEE ONLINE TRAINING
ReplyDeleteAppreciation for nice Updates, I found something new and folks can get useful info about BEST obiee ONLINE TRAINING
ReplyDeleteawful piece of information, I had come to know about your blog from my friend vimal, mumbai,i have read atleast 13 posts of yours by now, and let me tell you, your blog gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new posts, once again hats off to you! Thanks a million once again, Regards,obiee online training
ReplyDeleteNice information. Our institute Is the Leading online institute in Hyderabad, India to provide obiee online trainings with the real time experts and certified professionals. alot OBIEE Online Training.
ReplyDelete>
Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man, Keep posting more blog like this thank you...........
ReplyDeleteR12 Financials Training
Great post thanks to shared about to reading product dimensions.
ReplyDeleteHow to read product dimensions
no clue by the author as well as readers . What goes on behind the scene is 2 diff mappings /physical dimesnsions
ReplyDeleteThe above blog information provided above is really very nice.by your informartion i can improve my technical skills more. OBIEE online Training
ReplyDeleteSuch a great word which you use in your article and article is amazing knowledge. thank you for sharing it.
ReplyDeleteSoftgen Infotech is a leading training institute for all kind of the Best Python Training in Bangalore with real-time experienced trainers with 100% Placement Assistance.
Awesome post.Keep posting the article.
ReplyDeleteJava training in Chennai
Java training in Bangalore
Java training in Hyderabad
Java Training in Coimbatore
Java Online Training