Custom Aggregate Function
Erik van der Gaag
New Zealand
Hello,
Is there a way to add a custom aggregate function?
I would like to make my own aggregate 'Standard Deviation'.
Thanks,
Erik.
Is there a way to add a custom aggregate function?
I would like to make my own aggregate 'Standard Deviation'.
Thanks,
Erik.
Comments
We have already add a lot of custom function via the second method mentioned in the developers manual, so that they are available for all fast reports without having to declare them for each one.
This then uses the 'AddMethod' function.
Is there a way to use this and tell fast report that it is an aggregate function rather than just a normal one?
Thanks,
Erik.
if one of the params of your custom function requires an aggregate value you will probably need to make the report 2 pass gather and store the aggregate value in an array on the first pass then use the array value in the final pass. Similar to the way we handle displaying aggregate values in the header.