Hierarchies in Datasphere
As of 2026-11-22
Four ways to define a hierarchy: parent-child (variable depth, e.g. cost centre) and level-based (fixed depth, e.g. fiscal time) in the dimension's Hierarchies dialog, an external hierarchy, and a hierarchy with directory. Senior pattern: define each hierarchy once on the dimension (Hierarchies dialog, or a hierarchy entity linked by a hierarchy association); every analytic model inherits it. Time hierarchy = generated time dimensions (Time Data) plus one shared Fiscal Time dimension. Cost centre = SCD Type 2 history, kept on dated edges or on dated hierarchies in a directory and replayed with a reference date variable. For SAC drill performance, persist the hierarchy view (or replicate its node table), keep the node entity narrow and test the drill in the analytic model preview.
What you will learn
- Choose between parent-child and level-based hierarchy design for a given business dimension
- Model an SCD Type 2 hierarchy that survives org reorgs without breaking historical reports
- Define each hierarchy once on the dimension so every analytic model inherits it and SAC, Joule and Excel consumers stay in sync
- Position hierarchy design as a rate-relevant skill in a client conversation
Module overview
A hierarchy is the structure that turns flat dimension tables into a drill path such as Group → Region → Country → Cost centre. Without governed hierarchies, every SAC story rebuilds its own; with them, every story inherits the group standard.
Prerequisites
- Review core concepts first: C008, C006, C005
Outcomes
- Work through a realistic scenario: Industrial group with 12 legal entities, a fiscal year that differs from the calendar year, an 8-level cost-centre hierarchy and monthly reorganisations.
- Recognize and avoid the anti-pattern: SCD Type 1 on the organisation dimension — a reorganisation breaks all historical reports.
- Apply the module's core decision: Parent-child vs level-based — choose: parent-child for the organisation and cost centres; level-based for time and products; avoid: forcing fixed levels on a variable depth (lossy).
- Track mastery with the KPI: Hierarchy reuse (target: 1 definition per dim, ≥ 3 consumers; red flag: Per-consumer redefinition).
Full module with the Consultant plan — €19.90/month. The full module adds: the decision framework · the end-to-end scenario walkthrough · the KPI scorecard · the anti-patterns · the code blocks · the knowledge check · the diagrams.
Open missions
104 live roles and contracts in SAP Datasphere right now — see the SAP Datasphere missions · freelance SAP contracts.