I have a report that totals the number of items for a given site [site_cd]. I have a Site_Cd header and I am using the [=Count(*)] to give me the total. However I want the total to be based on the number of units at the site and was wondering if I could use an IF statement to accomplish this. For example, if the site_cd is "O" the total should be devided by 3, if "M" or "C" divided by 2, otherwise just the total count.
Any help on this is appreciated. I am not good with IF statements. I am open to another approach if there is a better and easier one.
Thanks,
Jim
Any help on this is appreciated. I am not good with IF statements. I am open to another approach if there is a better and easier one.
Thanks,
Jim