hoagieryder
MIS
I am running into a little trouble getting the weighted average of a formula. My report is grouped by command.date.
I am placing the following formula(@SQM) in GH1.
IF (sum({@OLDBALNULL 36},{Command.date})-sum({@Quarterly Expected Payment 36},{Command.date})) = 0 then 0 else
if sum({@Gross Prepayment 36},{Command.date}) <= 0 then 0 else
sum({@Gross Prepayment 36},{Command.date})/(sum({@OLDBALNULL 36},{Command.date})-sum({@Quarterly Expected Payment 36},{Command.date}))
There are a series of nested formulas in the formula, that have formulas based on them as well. When I place that formula in GH1 the number that is returned is correct. However I want to take those values and get a weighted average with command.balace for the entire report. It will not summarize the field, what can I do about this?
Example:
command.date @SQM Sum of command.balance
GH1 9/30 1 100
GH1 6/30 2 200
GH1 3/31 3 300
RF1(not able to summ.)weightedaverage(@sqm,command.balance)
I am placing the following formula(@SQM) in GH1.
IF (sum({@OLDBALNULL 36},{Command.date})-sum({@Quarterly Expected Payment 36},{Command.date})) = 0 then 0 else
if sum({@Gross Prepayment 36},{Command.date}) <= 0 then 0 else
sum({@Gross Prepayment 36},{Command.date})/(sum({@OLDBALNULL 36},{Command.date})-sum({@Quarterly Expected Payment 36},{Command.date}))
There are a series of nested formulas in the formula, that have formulas based on them as well. When I place that formula in GH1 the number that is returned is correct. However I want to take those values and get a weighted average with command.balace for the entire report. It will not summarize the field, what can I do about this?
Example:
command.date @SQM Sum of command.balance
GH1 9/30 1 100
GH1 6/30 2 200
GH1 3/31 3 300
RF1(not able to summ.)weightedaverage(@sqm,command.balance)