How can I define a for loop, that count the average one after an other point. I sorted the point list, so now they are in ascending numeric order, and I want to calculate get a values that comes from the average of the points . For example: the fifth elements average is counted from the first five data, the sixth is from the 1,2,3,4,5,6th element?
Page 1 / 1
You can only do loops inside a custom transformer. Check out the FME Desktop Advanced training, it has a section on custom transformers that includes loops.
You might not need a loop, the Cumulative output of the StatisticsCalculator may give you the result you are after.
If you're comfortable writing some lines of Python, then the PythonCaller could also be a fast and efficient solution.