TOTALS
- Last UpdatedMar 20, 2025
- 1 minute read
The TOTALS() function produces a stream of results calculating the statistical total for a stream or array of streams.
Syntax
|
Format |
Stream = TOTALS(Stream or ArrayOfStreams) |
|
Arguments |
Stream - A time-ordered vector of values. ArrayOfStreams - An array of streams. See Selecting an array of streams. |
|
Description |
Calculates the statistical total for a stream or array of streams during the query period. The query period is based on local time. |
|
Format |
Stream = TOTALS( Stream or ArrayOfStreams, TimeInterval ) |
|
Arguments |
Stream - A time-ordered vector of values. ArrayOfStreams - An array of streams. See Selecting an array of streams. TimeInterval - The time interval over which value totals are calculated |
|
Description |
Calculates the statistical total for a stream or array of streams over the specified time interval during the query period. The query period is based on local time. The returned start time is rounded down to the time interval's unit. For example, if the interval is hourly, the time stamps of all values end with "00:00.000". |