Create a Calculation Concept

Learn how to create, configure, and customize a calculation concept.

Overview

You might decide to create a calculation concept to: 

  • Create similar metrics whose only difference is the filter. For example, in the Employee Exit Model concept, the metric formulas for Resignation Count, Retirement Count, and Termination Count are the same except for the filterBy statement, which differs by resignation, retirement, or termination. The calculation concept can fill in the filter dynamically using the configured members in the Configure tab.
  • Create a calculation hierarchy where many metrics sum up to a parent metric. For example, in the Total Cost of Workforce concept, the metrics Actual Total Direct Compensation and Actual Total Benefits sum up to the parent metric Actual Total Rewards.

When building or modifying a calculation concept, you must first customize the concept hierarchy and perspectives. The hierarchy defines how each concept member rolls up to its parent, such as how Resignation and Retirement roll up to Voluntary Turnover. The perspectives provide different ways to calculate the concept, such as how the Actual and Budgeted perspectives provide different ways to calculate Total Cost of Workforce.

After you set up the hierarchy and perspectives, you can then configure the concept by selecting which dimension members belong to the nodes in each perspective's structure.

Tip: Watch this video to learn how to configure selection and calculation concepts.

Create a calculation concept

Note: For a tutorial that walks you through creating a new concept, see Create New Employee Attributes and Metrics.

Who can use this feature?

  • Analytic Model Developer

  • Basic Model Developer

  • Advanced Model Developer

Not sure if you have this feature or capability? Reach out to your administrator.

  1. Do one of the following:
    • In a project, on the navigation bar, click Model > Concepts.

    • In a project, on the navigation bar, click Model > Analytic Objects.

      1. Select an object.

      2. In Attributes, click Add Attribute > Concept.

  2. Select Calculation, and then click Next.
  3. Select an analytic object, and then click Next.
  4. Type a display name and description.

  5. Click Create.

Customize a calculation concept

Who can use this feature?

Users with this profile:

  • Basic Model Developer

  • Advanced Model Developer

Not sure if you have this feature or capability? Reach out to your administrator.

The core components of a calculation concept are:

  • Key structure: The primary hierarchy of the calculation concept. This will consist of the top-level calculation and all the child nodes it branches into.
  • Perspective: A copy of the hierarchy that can be modified by enabling or disabling nodes. Perspectives allow multiple ways to analyze one calculation concept. For example, the calculation concept Total Cost of Workforce has two perspectives: Actual and Budgeted. These two perspectives allow the user to analyze both what was budgeted for workforce costs and the actual amount spent on the workforce.

To fully customize a calculation concept, do the following:

  1. Define the parent-child hierarchy. See Create the hierarchy.
  2. Add and configure perspectives. See Create a perspective.

Create the hierarchy

The calculation concept hierarchy consists of parent nodes and child nodes.

Child nodes are the calculations that sum up to the parent member (for example, Parent A = Child B + Child C). Use child nodes to define a top-level metric. Each child node inherits the default template that is defined at the root or top level of the hierarchy and is able to override the inherited template. For more information, see Set the default template.

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. In the Customize tab, select the key structure Hierarchy.
  4. Hover over a parent member and click the Add child node button .
  5. Type a display name and description.

  6. Click Create.
  7. Repeat the above steps for each of the required child nodes in the calculation concept.

Create a perspective

A perspective is a way to analyze the calculation concept.

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. In the Customize tab under Perspectives, click Create.
  4. Type a display name and description.

  5. Click Create.

Set the default template

A default template is defined at the root or top level node of a perspective and will be inherited by all child nodes in a measure hierarchy or property hierarchy. This includes the dimension, calculation formula, data type, additive type, and other settings. The default template can be overridden. For more information, see Enable or disable nodes.

Select a dimension
  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. In the Customize tab under Perspectives, click Structure.
  4. Under Dimension, click Select Dimension.
  5. Select a dimension.
  6. Click Done.
Choose a measure or property
  1. In the Customize tab, click Measures or Properties in a perspective.
  2. Click the name of the measure or property to see a full list of measures and properties.

  3. To view a different measure or property, select one from the list.

Enter a formula
  1. Click the top-level measure or property in the hierarchy.
  2. In the Info panel under Calculation, click Edit.
  3. Type a formula.
  4. Click Validate.
Modify the settings
  1. Click the top-level measure or property in the hierarchy.
  2. In the Info panel, you can do any of the following:
    1. In a measure, under Measure Settings, select an additive type. This defines if the measure’s hierarchy nodes each add up to the top-level measure.
    2. In a measure, under Calculation, select an additive type, data type, and toggle the visibility for the selected metric.
    3. In a property, under Calculation, select a data type. This defines the expected data type of the property.
    4. Click View More Settings to change any other settings as required.

Enable or disable nodes

The calculation concept hierarchy can be modified within a perspective by enabling and disabling nodes.

The hierarchy of the key structure is replicated in each perspective of the calculation concept. You can customize what is calculated by the calculation concept by enabling or disabling nodes within a perspective. By default, every node in the key structure hierarchy is enabled for a new perspective.

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. In the Customize tab under Perspectives, click Structure.
  4. For each node in the hierarchy, enable or disable it by clicking the toggle on the right.

Create a measure

A measure is a collection of metrics that allows analysis to be done on the calculation concept.

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. Under Perspectives, click Measures>Create Measure.
  4. Type a display name and description.

  5. Click Create.
  6. In the Info panel of the measure, click Edit and enter a formula.
  7. Validate the formula.
  8. Click View More Settings to change other settings as required.

Create a property

A property is a quality of a subject. A property created within a calculation concept perspective is an attribute of the subject associated with the calculation concept. For example, the Total Cost of Workforce calculation concept has the property Actual Direct Compensation, which is then a property of the Employee subject.

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. Under Perspectives, click Measures>Create Measure.
  4. Type a display name and description.

  5. Click Create.
  6. In the Info panel of the measure, click Edit and enter a formula.
  7. Validate the formula.
  8. Click View More Settings to change other settings as required.

Override the default template

If you want certain child nodes to differ from the default template of the top level hierarchy node, you can make changes in the selected node's Info panel. You can override the default template per perspective or property.

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. Navigate to Customize.

  4. Under Perspectives, click Measures or Properties.
  5. Select a specific measure or property from the list.

  6. Select a child node in the list of measures or properties.
  7. Enable the Override toggle.
  8. Change the child node from the default template by doing any of the following:
    • Under Metric Settings, click Edit to change the formula for calculating the node.
    • Click the Visible in Analytics toggle to enable viewing the metric in your solution.
    • Select a new value from the Additive type list to change the additivity of the member.
    • Select a new value from the Data type list to change the member's data type.
    • Click View More Settings to change more settings, such as the analytic object.

Configure a calculation concept

For each perspective, map members to nodes to define a calculation concept.

Note:  

To modify a calculation concept, select members for each of the concept's perspectives which will track the various members within your selected population. For example, the Actual perspective in Total Cost of Workforce will have the members Vacation Pay and Sick Pay mapped to the Pay for Time Not Worked node.

To configure a calculation concept:

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Select a calculation concept.
  3. In the Configure tab, select a perspective to see its nodes.
  4. Click the node you want to configure.
  5. Select all the members to include in the node.
  6. Repeat steps 4 and 5 for all nodes.

Note:  

  • A member can only be included in one node. We recommend mapping every member to a node.
  • To make sure you don't map the same member to multiple groups, turn on Highlight duplicates. This highlights any members that are in more than one group so that you can identify and remove duplicates where necessary.

The following screenshot shows an example of the configuration area for a calculation concept.

  1. Perspectives: One or more ways to analyze the calculation concept. In this example, the Actual perspective represents the real employee exits in your organization. Some calculation concepts might have an additional Budgeted perspective to calculate future budgeting exercises.
  2. Highlight duplicates: A toggle that helps you see which values are included in more than one hierarchy node.
  3. Hierarchy node: The members that make up each calculation in the calculation concept. In the above screenshot, the Employee Exit Model’s Actual perspective is calculated using the values in Disability Exit, Maternity Exit, and Other Involuntary Turnover, among others. This list is generated by the hierarchy nodes in a perspective’s Structure area found in the Customize tab.

    Note: To customize the hierarchy nodes, contact Visier Technical Support.

  4. Member values: The values available to use in the calculation concept. Each member value should be mapped to one hierarchy node.
  5. Selected values: The selected values. These are the values that will be used to calculate the concept in the solution.
  6. Delete: A button to delete the concept.
  7. Preview: A button to preview the concept in the solution.

Validate a concept

Use the Preview feature to make sure that your concept is working as expected.

Who can use this feature?

Users with this profile:

  • Basic Model Developer

  • Advanced Model Developer

Not sure if you have this feature or capability? Reach out to your administrator.

Previewing your concept allows you to quickly look at your concept as a visual to determine whether its components are configured correctly.

  • To see your concept as a visual, click Preview.

    Result: You can see your concept as it would appear in visuals.

Note: The visual won't display if you configured the concept incorrectly.

Example: Build a calculation concept from end-to-end

Let's say you want a concept that reclassifies your employee exit reason data into voluntary and involuntary groups and you want the groups to roll up to an overall "exits" group. In Visier, you already have an analytic object called Employee Exit that captures your exit data, including a dimension called Exit Reason that has values like Resignation, Retirement, Reduction in Force, and Termination.

If you think this use case sounds familiar, that's because it's already in Visier! This example walks you through creating, customizing, and configuring the Employee Exit Model calculation concept (but with a new name, just for this example).

Step One: Create the concept

First, you can create a concept. In this example, we'll name it Employee Exits and select the Employee Exit analytic object.

  1. In a project, on the navigation bar, click Model > Concepts.

  2. Click Create Concept.
  3. Select Calculation and then click Next.
  4. Search for and select the Employee Exit analytic object and then click Next.
  5. In Display name, type Employee Exits.
  6. In Description, type The type of exit for an employee leaving the organization entirely.
  7. Click Create.

Step Two: Build the hiearchy

Next, in the Customize tab, under Key structure, you can define the concept's hierarchy. By default, Visier creates the top of the hierarchy. In this example, the top level is Employee Exit. Let's say you want to organize exit reasons into two categories: Turnover and Other Exit.

  1. To add Turnover, hover over the Employee Exit level and click the Add child node button .

  2. Type a display name and description.

  3. Click Done.
  4. Repeat steps 1 to 3 to add Other Exit.

Let's say that you want to categorize Turnover into two types of turnover: Voluntary and Involuntary.

  1. To add Voluntary Turnover, hover over the Turnover level and click the Add child node button .
  2. Type a display name and description.

  3. Click Done.
  4. Repeat steps 1 to 3 to add Involuntary Turnover.

You can categorize Other Exit into the types Reduction in Force, Disability Exit, Maternity Exit, and System Termination. Repeat the previous workflow to add child nodes for each type to Other Exit.

Additionally, you want to categorize Voluntary Turnover into the types Resignation, Retirement, and Other Voluntary Turnover, and Involuntary Turnover into Termination and Other Involuntary Turnover. Repeat the previous workflow to add child nodes for each type to Voluntary Turnover and Involuntary Turnover.

When finished, your calculation concept should look like the following image.

Step Three: Set up the perspective structure

Now that the hierarchy is complete, you can set up the perspective. In this example, you only need one perspective to analyze employee exits.

  1. In Perspectives, click Structure. You'll see the same hierarchy that you just created.
  2. In Dimension, click Select.
  3. In the Select a dimension dialog, click Select Subject and then select Employee Exit.
  4. In the list of dimensions, select Employee Exit Reason, and then click Select.

If you navigate to the Configure tab, you can now select dimension members from Employee Exit Reason to include in the perspective. However, next, you can finish setting up the perspective.

Step Four: Set up the perspective measures

Let's say that you want this concept to calculate the count and rate for each exit type. For example, you want to be able to see the Resignation Count and Resignation Rate. To easily create these metrics, you can create measures in the concept's perspective.

  1. In Perspectives, click Measures.
  2. To delete the default measure, click Delete Measure.
  3. Click Create Measure.
  4. Type a display name. In this example, you can type Count.
  5. Click Create.

Visier populates a metric for each node in the perspective structure. If you want, change the display name for each metric so that it uses your organization's metric naming guidelines. In this example, the metrics have names like Voluntary Turnover Count and Resignation Count.

Next, you can define the metric at the top of the hierarchy. Each metric in the hierarchy inherits its formula and settings.

  1. In Perspectives, in Measures, select the Count measure.
  2. Click the metric at the top of the hierarchy. In this example, the metric is Count.
  3. In the Info panel, scroll down to and click View more settings.
  4. In Formula, type on Employee_Exit filterBy(calculationMapFilter) aggregate count(Employee_Exit.EmployeeID). This means the metrics counts exits by Employee ID.
  5. In Settings, set the following:
    • In Data type, select Integer. This means the metric value is an integer.
    • In Analytic object, select Employee Exit.
    • In Additive type, select Additive over time. This means that exit values can be summed across time periods, such as adding the exit counts in January and February.
    • The other settings are optional. For more information, see Settings (required).
  6. In Basic Information, turn on Visible in Analytics. This means that your end users will be able to use the metric after you publish the project to production.
  7. In Basic Information, note the Object name. You need the object name for the Rate measure formula! In this example, the object name is Template_Count.
  8. When finished, click the Close button to return to the concept.

The Count measure is now ready to use. Next, you can create the Rate measure in the same way.

  1. In Perspectives, in Measures, click Create Measure.
  2. Type a display name. In this example, you can type Rate.
  3. Click Create.
  4. Click the metric at the top of the hierarchy. In this example, the metric is Rate.
  5. In the Info panel, scroll down to and click View more settings.
  6. In Formula, type Employee_Exits.Template_Count.template / employeeCountAverage. In this formula, Employee_Exits is the object name of the calculation concept, Template_Count is the object name of the Count measure, and employeeCountAverage is the object name of the Average Headcount metric. This formula divides the count of employee exits by the average headcount to find the rate of employee exits.
  7. In Settings, set the following:
    • In Data type, select Percent. This means the metric value is a percentage.
    • In Analytic object, select Employee Exit.
    • In Additive type, select Non-additive. This means that exit rates can't be summed across time periods, concepts, or dimensions. For example, you can't add the exit rate for January (9%) and February (8%) to get a total exit rate of 17%.
    • The other settings are optional. For more information, see Settings (required).
  8. In Basic Information, turn on Visible in Analytics. This means that your end users will be able to use the metric after you publish the project to production.
  9. When finished, click the Close button to return to the concept.

Step Five: Select the perspective members

You're almost done! The hierarchy and perspective are complete, which means you just need to configure the concept. To configure the Employee Exits concept, you'll select all the Exit Reason values from your data and assign them to the groups you created in the concept hierarchy.

  1. In the Configure tab, in the Template perspective, do the following:
    • In Disability Exit, select the values in your data that represent exits due to disability.
    • In Maternity Exit, select the values in your data that represent exits due to maternity.
    • In Other Involuntary Turnover, select the values in your data that represent involuntary exits that don't fit into your other involuntary turnover group (Termination).
    • In Other Voluntary Turnover, select the values in your data that represent voluntary exits that don't fit into your other voluntary turnover groups (Resignation, Retirement).
    • In Reduction in Force, select the values in your data that represent exits due to a reduction in force.
    • In Resignation, select the values in your data that represent exits due to employee resignation.
    • In Retirement, select the values in your data that represent exits due to retirement.
    • In System Termination, select the values in your data that represent termination events generated by Visier (such as an employee profile that doesn't have a termination event but does have an end of data).
    • In Termination, select the values in your data that represent exits due to employment termination.
  2. When finished, click Preview. You can now validate that the calculation concept works as expected. If the visualization has no data, try changing the time period to a time that you know has data.

After making sure it's correct, you're finished! To make the concept available to your users, publish the project to production. For more information, see Publish Project Changes.