System Session Variables
There are several system session variables that you can use in your reports and dashboards.
The system session variables have reserved names so you can’t use them for any other kind of variable.
| System Session Variable | Description | Example SQL Query Value (Variable dialog) |
|---|---|---|
|
PORTALPATH |
Identifies the default dashboard a user sees when they sign in (they can override this preference after signing in). |
To display ‘mydashboard’ when a user signs in: |
|
TIMEZONE |
Specifies the default time zone for a user when they sign in. A user’s time zone is typically populated from the user’s profile. Users can change their default time zone through preferences (My Account). |
To set the time zone when a user signs in: |
|
DATA_TZ |
Specifies an offset from the original time zone for data. This variable enables you to convert a time zone so that users see the appropriate zone. |
To convert time data to Eastern Standard Time (EST): This example means Greenwich Mean Time (GMT) - 5 hours |
|
DATA_DISPLAY_TZ |
Specifies the time zone for displaying data. |
To display Eastern Standard Time (EST): This example means Greenwich Mean Time (GMT) - 5 hours |