I have a report (IRs_Generated) based on a query. On the report I have fields [site_cd] and [=Count(*)] in the header. This way I get a total count of the records returned from the query for each site. However, I want to report the results based on the number of units at each site. Some sites may have 2 units and some 3. Is there a code I can use in a field on the report that says if the [site_cd] is X or Y or Z then divide by 2 but if the [site_cd] is A, B or C then divide by 3? What is the best way to handle this?
Thanks
Jim
Thanks
Jim