Hierarchies (Master Data Services)


Updated: April 1, 2016

Applies To: SQL Server 2016

In Master Data Services, a hierarchy is a tree structure that you can use to:

  • Group similar members for organizational purposes.

  • Consolidate and summarize members for reporting and analysis.

Each hierarchy contains members from one or more entities. When a member is added, changed, or deleted, all hierarchies are updated. This ensures that the data is accurate in all hierarchies. Hierarchies also help ensure that each member is counted once and only once.

If you want to create a grouping of a subset of members, consider using a collection. For more information, see Collections (Master Data Services).

You can create multiple hierarchies to view and organize your members in different ways. You can create:

System_CAPS_ICON_note.jpg Note

All members in a hierarchy must be within the same model.

A hierarchy is different from a taxonomy. A taxonomy organizes members by multiple attributes at the same time, while a hierarchy organizes members by one attribute at a time. A taxonomy can include the same member multiple times, while a hierarchy includes a member only once.

For example, the same bike can be included in a taxonomy twice: once because it's red, and once because it's a size 38. In a hierarchy, the bike is included only once, so you must decide whether to show it in relation to its color or its size.

In the following example, product members are grouped by subcategory members.

Hierarchy Grouped by Subcategory Example

Task DescriptionTopic
Create a explicit hierarchy.Create an Explicit Hierarchy (Master Data Services)
Create a derived hierarchy.Create a Derived Hierarchy (Master Data Services)
Hide or delete levels in an existing derived hierarchy.Hide or Delete Levels in a Derived Hierarchy (Master Data Services)

Community Additions