Hi, I have already implemented user defined aggregate functions based on one column input, however are there any examples where I could create aggrgeate function based on more than one columns and a scaler value. Say I need to calculate sumproduct of two columns based on scaler value. Thanks