As far as I can see, a simple totals query should do what you want. Group by Location and Year, and average the measurement field (choose average as the aggregate function).
BTW, Date is a bad name for a table. See this link http://allenbrowne.com/AppIssueBadWord.html
Never mind; I see it's not that simple. Will dig deeper.
Well, it helps to enter the data samples in a test table rather than the expected values . So it is that simple. Here's a sql for it (change to your table/field names):
SELECT tblJulian.Location, tblJulian.Dte, Avg(tblJulian.Measurement) AS AvgOfMeasurement
FROM tblJulian
GROUP BY tblJulian.Location, tblJulian.Dte;
Last edited by Micron; 01-24-2016 at 09:39 PM.
Reason: reserved words
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.