I am designing a database to track utility usages, ie water and electricity. My problem is when a meter has been replaced how to track the usage. I was able to do the calculations in a query for the usage but when it came to a meter that has been replaced, it throws off the calculation. Let me illustrate:
Date Meter# Reads
1/1/12 - Meter A - 900
1/2/12 - Meter A - 950 (usage 50)
1/3/12 - Meter B (replacement) - 100 (usage -850)
1/4/12 - Meter B (replacement) - 120 (usage 20)