In this post I want to describe how you can use hierarchies in SAP Datasphere just like in good old SAP BW.
To be able to use a hierarchy in SAP Datasphere like in SAP Business Warehouse, you need an object with the semantic type "Hierarchy with Directory".
There are several blog posts on this topic that explain it in detail:
The entity relationship model for hierarchies with directories looks like this: