Create a query
- Last UpdatedFeb 26, 2025
- 2 minute read
When you configure a query, you must select the tag or tags for which you want to retrieve data, the type of query, and the server(s) from which to retrieve the data. The data is queried from the database to which you are currently logged on. You can also configure additional parameters that are specific to each query type.
There is no limit to the number of tags in a query; you can include as many as your system allows.
To create a query
-
Select the Query tab.
-
From the Type list in the toolbar, select the type of query you want to use as a starting point. For more information on the possible types, see Query Types.
-
From the Server list, select the name of the server from which you want to retrieve data.
-
Use the Tag Picker to find tags in the AVEVA Historian database that you want to include in your query. For more information on the Tag Picker, see Tag Picker.

-
In the Columns pane, click on each tab and configure the details for the query. The tabs that appear depend on what query type you have selected. For more information on configuring the details for a particular query type, see Query Types.
-
In the Results pane, click the Data tab to view the resulting data.
Note: You do not have to execute the query. The Query application automatically executes the query after you switch to the Data tab, or if you make any changes while the Data tab is shown.