Add #Sum to Aggregate function

Hello,

Could we add the #Sum parameter to the aggregate function?

This for me is essential as aggregating by #avg or #capavg can sometimes be unstable due to bad data (it will happen) even with trimmings (winsor,exclude). Using the #sum parameter we could tailor better our aggregation ourselves.

It should be easy to implement i think.

Many thanks

Aggregate() is designed to calculate cross-sectional averages. FSum() is for cross-sectional sums.

Can you provide a use case for #Sum in Aggregate()?

This was the function i was searching, thanks!