How to Show Total, avg etc at bottom of Column in script report?

ballmill_DVRG this is your result.

add your logic here. Calculate the average of columns you want. Then add calculated Average Column to it and return the result.

Check query_report.py

Thanks,
Sangram