It seems like this should be easier than it is turning out to be, but I can't get this to work!
The Case table has the case ID number.
The Inventory table has the Inventory ID and item #.
There can be several different item #s for each case ID, and even several of the same item # in each case. I've restricted the report to show only the item numbers I am interested in, with the field chooser.
I need to find out the average number of inventory item # 123 for each case.
I can sum the # of inventory items used in the case, and I can get the number of distinct cases, but for some reason when I try doing an average, it doesn't work.
Case:
ID 1
ID 2
ID 3
Inventory:
Case ID 1, Inventory Item #5
Case ID 1, Inventory Item #5
Case ID 1, Inventory Item #4
Case ID 2, Inventory Item #11
Case ID 3, Inventory Item #7
Case ID 3, Inventory Item #8
I can get it to show that I have 3 cases here, and 6 items used, but I need to show that there is an average of 2 items per case.
Any help is greatly appreciated!
The Case table has the case ID number.
The Inventory table has the Inventory ID and item #.
There can be several different item #s for each case ID, and even several of the same item # in each case. I've restricted the report to show only the item numbers I am interested in, with the field chooser.
I need to find out the average number of inventory item # 123 for each case.
I can sum the # of inventory items used in the case, and I can get the number of distinct cases, but for some reason when I try doing an average, it doesn't work.
Case:
ID 1
ID 2
ID 3
Inventory:
Case ID 1, Inventory Item #5
Case ID 1, Inventory Item #5
Case ID 1, Inventory Item #4
Case ID 2, Inventory Item #11
Case ID 3, Inventory Item #7
Case ID 3, Inventory Item #8
I can get it to show that I have 3 cases here, and 6 items used, but I need to show that there is an average of 2 items per case.
Any help is greatly appreciated!