Using the setHierarchyLevel() API with SAP Analytics Designer

How to use the setHierarchyLevel() API to set a hierarchy level of a dimension with SAP Analytics Designer

In a previous blog, we discussed how to use addDimensionsToRows(), and addDimensionsToColumns() in the EPM Report Developer Analytics Application. The same analytics application also includes a property value and a hierarchy level filter for the Account dimension. This blog focuses on the hierarchy level filter, using the setHierarchyLevel() API.

To set up a hierarchy dropdown, first create and manually fill the dropdown with the hierarchy levels.

Hierarchy dropdown manually filled

Then add the below code to the dropdowns onClick fx

The table displays the hierarchy level at run time in line 6

Recent Posts

Get in Touch

Learn more and ask us About Our Cloud Consolidation Solution

Share This Post

Share this Page!

Share this with your network.

Want to Know More?

Get In Touch

Something isn’t Clear?


Feel free to contact us, and we will be more than happy to answer all of your questions.