Working with Variables and Prompts in the SAP Analytics Cloud, Add-in for Microsoft Excel

Objective

After completing this lesson, you will be able to work with variables/prompts.

SAP Variables

Variables are parameters of an SAP data source and serve as placeholders for members, currencies, hierarchies, formula elements, and texts. When you insert a model that uses variables, the Set Variables dialog opens as a prompt. After providing the variable values, the table is displayed according to your selections.

To change variable values, open the Prompt dialog from the ribbon.

You can insert multiple models in your workbook and even on the same worksheet. It is possible that each data source will have variables defined. Because of this possibility, the prompt icon has two options available in the drop-down:

  • Prompts for Workbook display all the prompts for all the data sources in the workbook
  • Prompts for Table Displays prompts for the currently selected table only.

Setting Variable Values — Permissions

The ability to set and change variable values in the Set Variables dialog is available to all users, regardless of their Designer or Viewer permissions. This means that even users who are assigned to the Viewer role can adjust variable selections to explore different views of the data.

Display Options for Variables

In the Set Variables dialog, you can control how the variable members are displayed. Use the Display Options setting to choose between:

  • ID: Show members by their technical ID

  • Description: Show members by their text description

  • ID and Description: Show both the ID and the description.

This is useful when working with data sources where the ID and description differ, and you need to identify members precisely.

Working with Variables in the SAP Analytics Cloud, Add-in for Microsoft Excel

Watch this short demonstration to see an example of working with variables in the add-in.

Summary

You should now be able to work with variables and prompts.