The following example illustrates the use of the Configure Calculated Data function to examine the use of min, max, and end values for a single tag and time span.
This scenario examines the min, max, and mean statistics relating to a single tag (FIC-101.PV) over a one-hour period and breaks the hour down into 60 one-minute intervals. The table produced will have the following column headers:
To make the worksheet useful for future queries, the tag and time period will be specified in the worksheet. This will allow you to change the tag or date/time by simply changing the contents of cells A1 and B1 in order to see data for a different tag on a different day.
To create the Excel worksheet
A range of 61 rows by 5 columns will be needed for the results. (This includes the header row and 60 rows of data.) Rather than select the entire range, you can select the top left cell of the range, for example, A3, and then use the option "Adjust selection to accommodate results" in the worksheet function dialog to automatically extend the range to the appropriate size.

To use the Configure Calculated Data Function dialog
The Connection field is pre-populated with the default DeltaV Continuous Historian connection details. A browse button is available if it is necessary to browse to an alternate source.
.

As changes are made to the optional fields, the Worksheet Required Range value is updated to show the dimensions of the array that will be yielded.
Since there is no data below or to the right of the selected cell, there is no need to check the Insert rows and columns check box. Also, since the selected dates do not run across the daylight saving change, there is no need to check the Extra rows check box.
This button opens a grid containing the actual data as queried from the DeltaV Continuous Historian database. The Try It window shows the row and column at which the data will be inserted. The dialog can be closed before the query is complete. While the query is being performed, the title bar indicates that it is working. On completion, the title bar indicates the number of rows and columns and the time taken to perform the query.

The resulting worksheet, after clicking OK (and reformatting the column widths and the date format), is shown below:
