I think you just need to add a Reset formula:
Whileprintingrecords;
numbervar Sump:=0;
and place the formula to the Group Header.
I would also suggest to add "Whileprintingrecords;" to the top of your Variance_RT formula
@Vitaly Izmaylov its working fine but only the problem for me now i need the group to be accumulated but in this case each line is calculating only kindly check the result.
the red mark is our formula and green mark is the running total. i have to get the answer like that. below is my formula . please advice.
numbervar Sump:=0;
numbervar Sump;
Sump := Sump+{@Variance};
Add comment