Hello all.
I am trying to perform an Average IF calculation in a query with multiple criteria.
This is what I came up with:
A+AvgBal>1: Avg(IIf([qry_Cardholder Data for RePrice Through Oct 2012]![FICO 0512] Between 730 And 9000,[qry_Cardholder Data for RePrice Through Oct 2012]![Balance]>0,[Balance],0,))
So basically, average [Balance] if [FICO 0512] is between 730 and 9000 and [Balance] is greater than zero
I am getting 'the expression you entered has a function containing the wrong number of arguments.
Where am I going astray? Thank you.
I am trying to perform an Average IF calculation in a query with multiple criteria.
This is what I came up with:
A+AvgBal>1: Avg(IIf([qry_Cardholder Data for RePrice Through Oct 2012]![FICO 0512] Between 730 And 9000,[qry_Cardholder Data for RePrice Through Oct 2012]![Balance]>0,[Balance],0,))
So basically, average [Balance] if [FICO 0512] is between 730 and 9000 and [Balance] is greater than zero
I am getting 'the expression you entered has a function containing the wrong number of arguments.
Where am I going astray? Thank you.