Hi,
I have a field which I want to display on each page of a report (in a group header) that gives the sum of balances for every account in a specific group. This sum needs to be displayed on each page (so even on page 1 the sum for all the entire group, that goes to say page 4 will be displayed, and then page 5 will start with the new sum for the next group, etc.)
I tried using a running total field, but that adds up on each page, so page 1 only displays the total in the group heading up through that page. I can't use a simple "Sum of" field, because there's another twist in this: for each account there may be more than 1 detail line, for different bills, and the same balance will be displayed in each of these lines. So when I'm adding up the balances I only want 1 balance for each account, what the account really has, but I don't know how to display this only once, except for suppressing duplicates, which still has the value being added up.
Example:
Group header - Group 109 total 5525.00 (the number I want)
Detail -
Account 59
Bill amt. 1000.00 Balance: 5000.00
Bill amt. 2000.00 Balance: 5000.00
Bill amt. 3000.00 Balance: 5000.00
Account 2022
Bill amt. 10000.00 Balance: 25.00
Bill amt. 2923.00 Balance: 25.00
Page 2
Group header - Group 109 total 5525.00 (the desired number)
Account 5055
Bill amt. 5000.00 Balance: 500.00
Bill amt. 900.00 Balance: 500.00
Page 3
Group header - Group 272 total 9000.00 (the new number for a new group)
Account 927
Bill amt. 72.00 Balance: 5000.00
Bill amt. 92.00 Balance: 5000.00
Account 555
Bill amt. 900.00 Balance: 4000.00
Bill amt. 500.00 Balance: 4000.00
Bill amt. 400.00 Balance: 4000.00
I have a field which I want to display on each page of a report (in a group header) that gives the sum of balances for every account in a specific group. This sum needs to be displayed on each page (so even on page 1 the sum for all the entire group, that goes to say page 4 will be displayed, and then page 5 will start with the new sum for the next group, etc.)
I tried using a running total field, but that adds up on each page, so page 1 only displays the total in the group heading up through that page. I can't use a simple "Sum of" field, because there's another twist in this: for each account there may be more than 1 detail line, for different bills, and the same balance will be displayed in each of these lines. So when I'm adding up the balances I only want 1 balance for each account, what the account really has, but I don't know how to display this only once, except for suppressing duplicates, which still has the value being added up.
Example:
Group header - Group 109 total 5525.00 (the number I want)
Detail -
Account 59
Bill amt. 1000.00 Balance: 5000.00
Bill amt. 2000.00 Balance: 5000.00
Bill amt. 3000.00 Balance: 5000.00
Account 2022
Bill amt. 10000.00 Balance: 25.00
Bill amt. 2923.00 Balance: 25.00
Page 2
Group header - Group 109 total 5525.00 (the desired number)
Account 5055
Bill amt. 5000.00 Balance: 500.00
Bill amt. 900.00 Balance: 500.00
Page 3
Group header - Group 272 total 9000.00 (the new number for a new group)
Account 927
Bill amt. 72.00 Balance: 5000.00
Bill amt. 92.00 Balance: 5000.00
Account 555
Bill amt. 900.00 Balance: 4000.00
Bill amt. 500.00 Balance: 4000.00
Bill amt. 400.00 Balance: 4000.00