S
SharonInGeorgia
Sample Calculations:
NetProfit = (Income - Expense) / TotIncome
NetProfit % = TotIncome / NetProfit
Income = IncItem1 + IncItem2 + IncItem3
Expense = ExpItem1 + ExpItem2 - ExpItem3
Some of the fields in the report are straight from the table. Many of the
report fields, however, are calculations created as expressions in a query.
My problem is getting the percentage calculations into the Section and Grand
Total of the report. I tried Sum([NetProfit])/SumOf[TotIncome] but for some
reason, I am not getting a sub-total number. I tried created a second query
from the first query using Group by and recreating the expressions
calculatins then creating a subform with the Sub and Grand Total. IT works,
however, there's got to be a better way. Suggestions?
NetProfit = (Income - Expense) / TotIncome
NetProfit % = TotIncome / NetProfit
Income = IncItem1 + IncItem2 + IncItem3
Expense = ExpItem1 + ExpItem2 - ExpItem3
Some of the fields in the report are straight from the table. Many of the
report fields, however, are calculations created as expressions in a query.
My problem is getting the percentage calculations into the Section and Grand
Total of the report. I tried Sum([NetProfit])/SumOf[TotIncome] but for some
reason, I am not getting a sub-total number. I tried created a second query
from the first query using Group by and recreating the expressions
calculatins then creating a subform with the Sub and Grand Total. IT works,
however, there's got to be a better way. Suggestions?