How to Define Substitution Variables
  • 1 Minute to read
  • Dark
    Light
  • PDF

How to Define Substitution Variables

  • Dark
    Light
  • PDF

Article summary

In the example below, substitution variables are created for the Time and Scenario dimensions of the FinanceMaster model. The intention is to have a 12-month rolling forecast.

  1. Select the Model task and the Model Administration, Substitution Variables subtask.

  2. Select the model for which you want to define variables.

  3. Select the dimension to which you want to apply the variable. Values are displayed based on the dimension members.

  4. In the Variable cell, enter a name for the substitution variable.

  5. In the Value cell, select the list box and select a dimension member or enter a value directly in the cell.

  6. Once all substitution variables are defined, click Save.

  7. Select the Analyze task and the Data subtask.

  8. Select the FinanceMaster model, which is the model the substitution variables were defined for.

  9. Manipulate the data as needed using actions.

  10. Select the Report subtask.

  11. Notice that member values are displayed when labels are selected. In the image below, there are currently no substitution variables used. Select a block of cells or just one cell to select a substitution variable.

    ModelingImages301to350image303997x326.png

  12. Click the Design Manager action.

    ModelingImages301to350image304999x431.png

  13. The Scenario dimension is already displayed in the Dimension list box, but you can select any dimension. Click the search button (ModelingImages251to300image29315x12.png).

  14. Substitution variables as well as dimension members are displayed in a hierarchy as shown below.

    ModelingImages301to350image305995x577.png

  15. In this case, Scen1 is selected for the Actual scenario (cell B4), Scen2 is selected for the Actual scenario (cell C4), Scen3 is selected for the 2013 Forecast Q2 scenario (cell D4), and so on until all 12 periods are substituted.

    ModelingImages301to350image306996x578.png

  16. Once all scenarios are substituted, select Jan-13 (cell B5) and click Design Manager.

  17. Select Per1 and click Update. Select Jan-13 (cell C5) and click Design Manager. Select Per2 and so on until all 12 periods are substituted.

    Note:
    Not only should you select the label, but the data values as well to update those intersections with the substitution variable.

    ModelingImages301to350image307994x440.png

  18. Once all periods and scenario substitution variables are applied, click Save.

  19. Enter a report name.

  20. Click on a dimension member label to view the substitution variable assigned.

    ModelingImages301to350image301.png

  21. Select the Run subtask to run the report with substitution variables

    ModelingImages301to350image308995x251.png

  22. When defining additional reports, you can substitute the variables defined as long as the report belongs to the same model. Or, use Substitution variables for existing reports. When in Design mode, select the column or row label and click Design Manager.


Was this article helpful?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence