Hierarchies (Master Data Services)

Applies to: SQL Server - Windows only Azure SQL Managed Instance

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.

What Hierarchies Contain

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).

Kinds of Hierarchies

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

Note

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

Hierarchies Are Not Taxonomies

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.

Hierarchy Example

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

Hierarchy Grouped by Subcategory Example

Task Description Topic
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)