P. 1
ProjectDesign 8

ProjectDesign 8

|Views: 1,628|Likes:
Published by Srikanth Sri

More info:

Published by: Srikanth Sri on Aug 16, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Hierarchies in a logical data model are ordered groupings of
attributes arranged to reflect their relationship with other
attributes. Usually the best design for a hierarchy is to
organize or group attributes into logical business areas. For
example, you can group the attributes Year, Month, and Day
to form the Time hierarchy.

In a logical data model, hierarchies contain attributes that are
directly related to each other. Attributes in one hierarchy are
not directly related to attributes in another hierarchy.

For example, Year and Quarter are attributes that are usually
directly related to each other. One year has many quarters
and both attributes are in the Time hierarchy.

Year and Customer are attributes that are usually not in the
same hierarchy and are not directly related to each other.
However, if you want to create a report that shows
information about customer purchases in a particular year,
there must be some way to determine how these two
attributes are related. Year and Customer are related through
a fact. It is the existence of a fact that ties the Time hierarchy
to the Customer hierarchy. In this case, the fact is a customer

Therefore, facts exist at the intersection of hierarchies. They
are identified by multiple attributes, which represent the
level at which a fact is stored. A graphical example of how
facts, attributes, and hierarchies are related and form a
complete logical data model is shown in the section Sample
data model, page26

The Logical Data Model

Project Design Guide


26 Sample data model

© 2007 MicroStrategy, Inc.

For a complete discussion about hierarchies, refer to Chapter
7, Creating Hierarchies to Organize and Browse Attributes

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->