foldCol block

foldCol block

foldCold takes 3 parameters:

  • a collection (representing a table)

  • a property/column name

  • a function name (min/max/avg)

The function is applied on the column that is selected.



In this example we have 3 virtual points: a(10), b(20) and c(60). We use foldCol to calculate the max, min and avg of curVal of each of this points.

The blocks:

The result: