For total quantity
Insert a new formula (name MyTotQty)
Inside the formula, write :
Code:
ToNumber({print.totalqnty})
(replace {print.totalqnty} with your actual field name)
And place that formula in the desired section

JG