Hi Ratna,
Its very simple. Once you have created the local member using report editor just after the required row.
Check if the Active Local Member Recognition in ON.
Refresh the Report or Input Template. Then enter the required variance formula to the local member cell using the reference of the prior row. The local member cell will automatically detect the formula.
I wish that helps.
Regards,
Bishwajit