billybragg
Programmer
There are 5 main groups in an income statement, and 2 important "subtotals." The trick is, the subtotals require addition AND subtraction, so a straight running total field doesn't work. Basically, if our groups are A,B,C,D and E, we need a subtotal after group B which calculates Sum(A)-Sum(B) (EBITDA), and another subtotal after group E which calculates Sum(A)-Sum(B)+Sum(C)-Sum(D)-Sum(E) (Net Earnings).
What I have tried is this: creating an invisible field in the details section which reverses the signs for values in groups B,D and E, and then calculating a running total on that value in Group A's footer. Oddly, the values in this running toal field are correct in Groups A, C and E, but not in B or D.
So, am I using the running total incorrectly? Is there a better way to do this? Has anyone ever tried to calculate EBITDA and Net Earnings? Thanks for any help.
What I have tried is this: creating an invisible field in the details section which reverses the signs for values in groups B,D and E, and then calculating a running total on that value in Group A's footer. Oddly, the values in this running toal field are correct in Groups A, C and E, but not in B or D.
So, am I using the running total incorrectly? Is there a better way to do this? Has anyone ever tried to calculate EBITDA and Net Earnings? Thanks for any help.