New Upload weather data from web services into TM1/Planning Analytics — Read the post →

Building Hierarchies with a Process

Objectives

Each employee in the Employee dimension has a Department Code attribute value. We want to create a new hierarchy called Actual 2018 Department which contains all employees with their current department value. To do this we are going to create a new process.

To create new process, just click on the New Process button from the Arc menu:

image-20251017-124644.png

Then type the new process name:

·       Dim.Employee.BuildHierarchy.Department

image-20251017-124719.png

Click Create button, you should now see a new tab with the process name. In the Data Source tab, select:

  • Type: Dimension Subset

  • Dimension: Employee

  • Subset: All

Click Preview and then Create Variables.

image-20251017-124851.png

In the variables tab, notice that Arc has already prefixed the variable with a “v” (this can be configured in the settings.yml):

image-20251017-124917.png

Let’s start by defining the constants in the Prolog tab, to build the hierarchy:

  • cDimSrc: our dimension source which is also our target dimension.

  • cSubsetSrc: The subset source that we are going to loop through.

  • cAttr: The attribute we need to build the consolidation.

  • cHierarchy: Hierarchy name.

  • cTotalHierarchy: The top consolidation of our new hierarchy.

Enter the following code then click the save button or hit CTRL+S:

image-20251017-125129.png