Defining a Variable for Data Perspective Access

You can define an On Perspective access effect to initialize a variable with the first value of a field, whenever users access the Data Perspective.

This feature allows you to display dynamic values on visualizations when users open, reload, or refresh the Data Perspective.

Note: You can use the variable in specific visualizations or in screen effects.


Before you begin: You have created a Data Perspective and defined a data query.
See Also
Configuring Variables
Bind a Variable
Creating Input Parameters
  1. From the navigation menu, select Settings > Actions.
  2. Under On Perspective access, click to add a new effect.
    BehaviorDescription
    Set variable Specify the variable that retrieves the first value of a query field when users access the Data Perspective.

    From Information source, select a data query and a result set, or a data fusion. Then select the field from which the Data Perspective will retrieve the first value.

    Target studio variable: Specify the variable to update with the field value.

    Clear variable Clears the variable that stores the data.

    Target studio variable: Select the data query variable where Data Perspective Studio stores source data.

    Reset variable Resets the variable that stores the data to its Initial value.

    Target studio variable: Select the data query variable where Data Perspective Studio stores source data.

  3. Refresh the Data Perspective.
    The variable is updated.