How to add footer totals in script report?

Does anyone know how to customize or like add footer in any script report? I am currently customizing a script report and I just want to add total amount and total quantity in the footer.

Here is the image that I am referring to.

Thank you!

Oh thanks much @Abdeali ! I didn’t realize that there was add total row in the report settings