In my Report I am passing the Total of Subreport to display in the Main Report for that I am using the below Formula,
In Subreport,
WhilePrintingReco
The formula that you created in the sub-report must be placed in the detail section or Group header. You can hide this field. Then it will show up the correct value.