Hello,
I am MS Access newbie and working with a set of reports that were created by someone else that are part of a crosstab query. I am trying to adjust one of the formulas in the report to sum the above rows in the report when that row meets a condition where it is greater than 0. Right now the formula is summing all of the above rows and reads as follows.
=Sum(IIf(IsNull([MILES_DEST_ORIG]),0,[BA])) "MILES_DEST_ORIG" is basically the field that if it is greater than 0 I would like to sum all of the categories for that particular row. "BA" represents a column of data from the report that is generated from the crosstab query. As I mentioned right now it is basically just summing everything regardless if MILES_DEST_ORIG is 0 or not.
Hopefully I have explained this fully. Any help is much appreciated!