TOTAL
- Last UpdatedAug 17, 2022
- 1 minute read
The TOTAL() function produces a stream of results calculating the time-weighted total for a stream.
When using TOTAL() in a query, if no resolution is specified then the behavior is the same as integral retrieval mode with no resolution specified; the duration between the start and end times is divided into 100 equal cycles, and the total is calculated for each cycle.
Syntax
|
Format |
Stream = TOTAL( Stream, TimeInterval ) |
|
Arguments |
Stream - A time-ordered vector of values TimeInterval - The time interval over which value totals are calculated |
|
Description |
Calculates the time-weighted total for a stream over the specified time interval. The start/end times are rounded to the start/end times of the interval. |