Bill Bisco
Custom User Title
- Local time
- Today, 10:35
- Joined
- Mar 27, 2009
- Messages
- 92
Dear all,
I have a slightly complicated set of data that I have to be careful to correctly extract. Any help on making this simpler would be appreciated.
I have a field called Claim # and another field called Month and another field called Quantity. A Claim will appear only 1 time in any given month, but sometimes the same Claim appears over multiple months. Only the first time any given claim appears it is valid and will be included on our query.
I want to find the Sum of Quantity from all claims each month while excluding any repeat Claims in subsequent months. My quick and dirty method is to make a query for each month and then include a large number of left joins to ensure that only one month is included every time with the proper records.
Any ideas or suggestions?
-- Bill
I have a slightly complicated set of data that I have to be careful to correctly extract. Any help on making this simpler would be appreciated.
I have a field called Claim # and another field called Month and another field called Quantity. A Claim will appear only 1 time in any given month, but sometimes the same Claim appears over multiple months. Only the first time any given claim appears it is valid and will be included on our query.
I want to find the Sum of Quantity from all claims each month while excluding any repeat Claims in subsequent months. My quick and dirty method is to make a query for each month and then include a large number of left joins to ensure that only one month is included every time with the proper records.
Any ideas or suggestions?
-- Bill
Last edited: