AggregateFromEntitites

Returns the aggregated value according to specified aggregation type of the specified PetroVisor signal, for all entities defined by splitting the specified separator.

Aggregation types:

1. Min

2. Max

3. Sum

4. Average

5. First

6. Last

Syntax

AggregateFromEntities(expression,aggregation,string expression, string expression)
  • expression: signal expression
  • aggregation: type of aggregation
  • string expression: list of entities names
  • string expression: name separator

Example

AggregateFromEntities("oil production rate" in "m3/h", "Average", "Well1|,Well2|,Well 12|, "|")