Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Hierarchies and flat attributes

Corrado LabinazFeb 13 2012 — edited Feb 14 2012
Hi,

I've trouble to figure out how to mix hierarchies and flat attributes.
Let say I've a
PRODUCTS dimension, with a
CATEGORIES hierarchy with levels PRODUCT -> SUBCATEGORY -> CATEGORY -> TOTAL , with
CODE and DESCRIPTION attributes.

So far so good.
Now I want to add a TYPE and a CLASS.
I could model them as attributes, let say TYPE_CODE, TYPE_DESCRIPTION, CLASS_CODE and CLASS_DESCRIPTION.
But TYPE and CLASS make sense only at the PRODUCT level.
How should I map them at the other levels (SUBCATEGORY and CATEGORY)?

I could model them also as separated hierarchies (ie TYPE_HIER with level PRODUCT -> TYPE -> TOTAL) using only the CODE and DESCRIPTION attributes, which looks better to me.
But AFAIK this could fail in OBIEE, which can't filter on multiple hierarchies in the same dimension.

Another idea could be to break the dimension in 2, one for the hiearachy and the other for the flat attributes.

Can you suggest the best way to do this?

Regards,
Corrado
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 13 2012
Added on Feb 13 2012
2 comments
222 views