AVG
Description
Calculates the average on a set of numbers or event values
AVG(Vector<Number/Event>)
Calculate the average as Scalar<any> from the given parameter.
Parameters
Parameter
Description
vector
A vector of type <Number/Event>
Returns
Returns the average as Scalar<Number>
AVG(GroupedScalar<any, Number/Event>)
Calculate the average as Scalar<any> from the given parameter.
Parameters
Parameter
Description
group
A GroupedScalar of type <any, Number/Event>
Returns
Returns the average as Scalar<Number>
AVG(GroupedVector<any, Number/Event>)
Calculate the average as GroupedScalar<any> from the given parameter.
Parameters
Parameter
Description
group
A GroupedVector of type <any, Number/Event>
Returns
Returns the average as Scalar<Number>
Examples
Retrieve the average of the GridPowerConsumption time series.
Last updated