What is the Syntax for Referencing Variables
You can reference variables in analyses, dashboards, KPIs, and agents. How you reference a variable depends on the task that you are performing.
For tasks where you are presented with fields in a dialog, you must specify only the type and name of the variable (not the full syntax), for example, referencing a variable in a filter definition.
For other tasks, such as referencing a variable in a title view, you specify the variable syntax. The syntax you use depends on the type of variable as described in the following table.
Syntax for Referencing Variables Table
| Type of Variable | Syntax | Example | 
|---|---|---|
|   Presentation  | 
  @{variables.variablename}[format]{defaultvalue} or @{scope.variables['variablename']} where:  
  | 
  @{variables.MyFavoriteRegion}{EASTERN REGION} or @{dashboard.variables['MyFavoriteRegion']}  | 
You also can reference variables in expressions. The guidelines for referenceing vairables in expressions are described in the following table.
Guidelines for Referencing Variables in Expressions
| Type of Variable | Guidelines | Example | 
|---|---|---|
|   Presentation  | 
 
 Note: If the @ sign is not followed by a {, then it is treated
as an @ sign.   | 
"Market"."Region"=@{MyFavoriteRegion}{EASTERN REGION} | 
For the specific areas where you can reference variables, see "Where Can I Reference Variables?".