Conditional Summing in a Group
Posted: Wed Aug 03, 2011 8:14 pm
Is it possible to sum a column in the Group Footer based on a condition? The formula I tried is below:
{IIF(AccrualExpense.RowType == "Accrual", Sum(AccrualExpense.JanAmt), 0)}
What I want is if the row type = Accrual then use the amount ( in this case January amount), if not the use zero. Hoepfully summing only rows of that type. This did not work for me.
Any ideas? thanks.
{IIF(AccrualExpense.RowType == "Accrual", Sum(AccrualExpense.JanAmt), 0)}
What I want is if the row type = Accrual then use the amount ( in this case January amount), if not the use zero. Hoepfully summing only rows of that type. This did not work for me.
Any ideas? thanks.