Context values
Context values are parameters which can be set to provide additional context for a query, in order to obtain more meaningful results. Context values can be changed in the application using the Query context tab.
The Query context tab is an additional tool which may or may not be included in your application. If you cannot find it in your application, contact your system administrator.
Scopes of context values
In Atoti UI, context values can be applied with different scopes which will impact query results differently across your dashboards. In order of broadest to narrowest scope they are:
- Default query context - applies to all queries on the selected cube, on any dashboard.
- Dashboard context values - apply to every widget on every page of the current dashboard.
- Page context values - apply to every widget on the current page of the current dashboard.
- Widget context values - only apply to the currently selected widget.
Dashboard, page and widget context values are persisted when a dashboard is saved.
Open the query context tab
The Query context tab is accessed from the Tools panel, next to the data model on the left of the application. Click on its icon to open it.

Change a context value
The Query context tab contains two panels. The first contains a list of all the context values that can be modified in the application, and the second shows the Default query context, followed by a section for each of the other scopes. If you have modified a context value, a tile displaying the name and value of this context value will be shown in the relevant section.
To change a context value:
- Choose a context value from the first panel, and drag it to one of the sections in the second panel, Dashboard, Page or Widget.
- Alternatively, click the context value to add it automatically to the Widget section.
- You may now edit the value, this may involve checking or unchecking a checkbox, choosing an option from a dropdown menu or typing in an input box, depending on which context value you have chosen.

You may change the scope of a context value by dragging and dropping its tile in another section of the Query context tab.