Entering formulas in Forecast Structure

When you select Calculated from the Type drop-down list in the General tab of the Forecast Structure screen, the Formula tab containing the formula building buttons become available. You can manually create a formula by using the Insert KBI, Insert Operator, and Insert Function buttons, or you can use the Formula Builder button. Selecting the Formula Builder button launches a wizard that provides a combination of the other three function buttons and guides you through a logical progression of steps. Once you have become familiar with the syntax of creating calculated KBIs, you can manually enter the formula directly into the Formula field.  

Note:Unifocusrecommends using the Formula Builder to create formulas. Using the Formula Builder will ensure that you are using the correct syntax.

To enter formulas for a KBI:

  1. In the upper-left corner of the screen, select Access your applications ( main menu icon ).
    The menu expands.

  1. Select Setup > Forecast Structure.
    The Forecast Structure screen appears. The KBIs view is the default view for the screen.

  1. In the Forecast Structure menu pane, select KBI (  icon ).
    The KBIs view appears.

  1. Do one of the following:

    • If you are adding a new KBI:

      1. In the KBIs section, select the Add KBI ( button ) button.
        The Add KBI dialog box appears.

      2. Complete the fields in the Details section.

    • If you are editing an existing KBI:

      • In the KBIs section, select the KBI that you want to edit. If necessary, expand ( button ) the tree menu or use the Search (icon) field to find the KBI.
        The Details and KBI Set Config sections update based on your selection.

  2. In the KBI Set Config section, do the following:

    • To add general formula:

      1. From the Type drop-down list, select Calculated.
        The Formula tab appears.

      2. Select the Formula tab. 

    • To add separate formulas for KBIs related to the Labor and Budgeting modules:

      1. From the Type drop-down list, select Separate.
        The Labor Formula and Budget Formula tabs appear, and the Calculated option is automatically selected in the Type fields of the Labor and Budgeting sections.

      2. Select the Formula tab.
        See the table above for field descriptions of the Formula tab.

  3. To enter formulas:

    • To manually build a formula, complete the steps below:

      1. Select Insert KBI.
        The Insert KBI dialog box appears.

      2. Select a KBI from the KBIs list.

      3. Enter a value for the Days to offset.
        Once you have selected a KBI, there are three offset value variations:

        • A previous day's value is expressed as a negative number (−1,−2, −3, and so on).

        • The current day's value is expressed as 0.

        • A future day's value is expressed as positive numbers (1,2,3, and so on).

      4. Select Insert.
        The KBI number is displayed in the Insert KBI area.

      5. Select Insert Operator and choose the type of operation you want to perform.

      6. Select Insert.
        The operation type is displayed in the Formula area.

      7. (Optional) To insert functions:

        1. Select Insert Function
          The Insert Function wizard appears.
          For more information, seeCalculated KBI functions

        2. Complete the screens in the wizard.

    • To use the formula builder, complete the steps below:

      1. Select Formula Builder.
        The wizard appears.

      2. Complete the fields as necessary.
        The wizard closes when you have completed the last step.

  4. If necessary, to add formulas for different KBI sets, select an option from the KBI Sets drop-down and repeat the steps above.

Note: You can also configure KBI in the Market Groups and Revenue Centers views for Forecast Structure. In each view, expand ( button ) the tree menu until you get to the KBIs associated with the market groups or revenue centers.