cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Restricting data based on nodes of Hierarchy with directory

Rakesh_
Discoverer
0 Kudos
743

Hello SAP Community,

We recently encountered a need to create calculated measures based on hierarchy nodes.

For instance, I would like to create a calculated measure for Promotional Incentives withing Total Revenue, specifically focusing on restricting the data related to Promotional Incentives. I would appreciate any thoughts or suggestions on how to accomplish this.

Screenshot 2024-10-27 222258.png

 Thank you in advance for your help!

SAP Datasphere 

Accepted Solutions (0)

Answers (1)

Answers (1)

Martin_Kuma
Contributor
0 Kudos

Hi Rakesh,

I am using restriction from - to on the hierarchy leaves/children. The reason is, that you do not have the values on the booked on the hierarchy nodes, so you have to first create the restricted measure, which you can then use in calculations. Restricted can be created as new lines in the model view (with union), in case you run into performance issues. Else just stick with the measures in the model. 

You can create the measures in the story as well, but I find model approach more re-usable. 

Cheers,

Martin