Creating variables

Variables are used when values are to be determined dynamically. Variables can be created in analytic and calculation views on any field in the output definition of the view.

Getting ready

In order to create variables, we should have analytic or calculation views on hand. Having created one of these models, let us start creating variables.

How to do it…

In this recipe, we will see how to create variables in SAP HANA that enable end users to change values dynamically at the time of executing reports. Follow the given steps:

  1. Open an analytic or calculation view and click on the Semantics section.
  2. Under Variables/Input Parameters, click on the plus sign in the right corner of the screen and select Create Variable, as shown in the following ...

Get SAP HANA Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.