CalgaryCR9
Technical User
In previous posts I got my very convoluted report doing a group total average with this formula:
formula name: @average_closed_display_footer -->inserted in group 2 footer.
whileprintingrecords;
numbervar cnt_closed;
numbervar sumdiff_closed;
if cnt_closed > 0 then
sumdiff_closed/cnt_closed
It has a reset formula in group 2 header:
// reset
whileprintingrecords;
numbervar cnt_closed;
numbervar sumdiff_closed;
cnt_closed:=0;
sumdiff_closed:=0
Sample Data is:
270155 UID=Joe
1591942 UID=Fred
625736 UID=Mary
849718 UID=Paul
675896 UID=Rachel (UID is group 2, Role is Group 1) --Data/report design to this point is not problematic.
The total of the above numbers s/b 4,013,447 (unless I mis-added).
How do I get that total of 4,013,447 to appear in the group1 footer and/or the grand total?
I also want to divide 4,013,447 by GROUP 1:{DistinctCount Service_Call.Assigned_UID} that is in the Group1 footer. eg:4,013,447/5= 802689.4
I apologize for all the interuptions I've had in writing this report that makes me lose my train of thought, resulting in yet one more post for this report!
formula name: @average_closed_display_footer -->inserted in group 2 footer.
whileprintingrecords;
numbervar cnt_closed;
numbervar sumdiff_closed;
if cnt_closed > 0 then
sumdiff_closed/cnt_closed
It has a reset formula in group 2 header:
// reset
whileprintingrecords;
numbervar cnt_closed;
numbervar sumdiff_closed;
cnt_closed:=0;
sumdiff_closed:=0
Sample Data is:
270155 UID=Joe
1591942 UID=Fred
625736 UID=Mary
849718 UID=Paul
675896 UID=Rachel (UID is group 2, Role is Group 1) --Data/report design to this point is not problematic.
The total of the above numbers s/b 4,013,447 (unless I mis-added).
How do I get that total of 4,013,447 to appear in the group1 footer and/or the grand total?
I also want to divide 4,013,447 by GROUP 1:{DistinctCount Service_Call.Assigned_UID} that is in the Group1 footer. eg:4,013,447/5= 802689.4
I apologize for all the interuptions I've had in writing this report that makes me lose my train of thought, resulting in yet one more post for this report!