Planning Using Inverse Dimension Formulas

Objective

After completing this lesson, you will be able to use inverse dimension formulas.

Inverse Dimension Formulas

By default, planning models don't support data entry for formulas. But with inverse functions, you can enable data entry for the formula result and then specify one or more ways to reverse the formula, meaning it is possible to add inverse functions to calculate a value that is the result of the formula.

Single Inverse Formula

Let's use a scenario where you want to input values for revenue and cost and have the system calculate the profit. You also want to be able to enter the profit and have the system back-calculate cost.

In the example below, the two possible outcomes are displayed:

  • Without an Inverse Formula: Profit is calculated and input is not possible.

    You can see the Account dimension with the calculated member Profit that is calculated as [Revenue] – [Cost].

    With this formula, you can't enter data for the Profit account since it's the result of a formula.

  • With an Inverse Formula: Profit is calculated and input is possible.

    You can see the formula [Revenue] – [Cost] | INVERSE ([Cost] := [Revenue] – [Profit]).

    With the inverse formula option of Cost = Revenue - Profit, if you enter a value for Profit in a story, then Cost adjusts while Revenue remains constant.

Example of calculations without Inverse Formula on the left, examples of with an Inverse Formula on the right.

Note

You can also input data for an account that is a percent type. For example, profit %.

Display the Formula Bar

To display the dimension formula:

  1. Go to … More in the Tools menu.
  2. Select Formula Bar.
  3. Highlight the account with the formula.
How to turn on the Formula Bar.

Multiple Inverse Formulas

You can define multiple inverse formula options in a given formula. When doing so, the order in which they are typed determines the priority.

Inverse formulas require the following characters:

CharacterDescription
|A vertical bar (pipe) marks the end of the base formula and the beginning of one or more inverse functions.
:=You must add a colon before the equal sign when defining an inverse function.

In some cases, it may not be possible to change the value for cost. For example, if a cell lock is applied to cost, or values are entered for cost and profit simultaneously. To allow data entry in these cases, you can define a secondary inverse formula that assigns value to revenue:

[Revenue] – [Cost] | INVERSE([Cost] := [Revenue] – [Profit]) OR INVERSE([Revenue] := [Profit] + [Cost])

When the first inverse formula can't be applied, the data entry can be carried out using the secondary formula. As a result, the revenue value is adjusted.

Additional Information

Visit the SAP Help Portal for more information: Inverse Formulas

Plan with Inverse Dimension Formulas in a Story

Business Scenario: In the process of determining a planned income statement, you are interested in the resulting gross profit. In addition to calculating gross profit, you also need to be able to enter the target gross profit and have the system back-calculate cost or revenue to achieve the goal. In order to do this, you will use an account with an inverse formula.

Task Flow: In this practice exercise, you will:

  • Access the formula bar in the story
  • Input the target gross profit and back-calculate cost
  • Input the target gross profit and back-calculate revenue

Log in to track your progress & complete quizzes