Bob,
Thanks for the reply....The query does not produce the correct values for WeeksScanned and StoreCount.
Based on Example above, results shoud be as follows:
UPC, Store Count, Weeks Scaned, Units Sold
001, 2, 3, 25
I get the following when I run the query above:
UPC, Store Count, Weeks...