Sample Data
BATID Date Time Test Value
25646 3/1/2014 01.00.00 11.65
25646 3/1/2014 02.00.00 10.89
25646 3/1/2014 02.00.00 12.43
25646 3/1/2014 04.00.00 11.71
........ ........ ............ ........
....... ............ .............. ..........
25646 3/1/2014 24.00.00 10.62
......... .............. .............. ...........
25646 3/31/2014 24.00.00 11.36
In this example for 3/1/2014 (just one day) I have 24 records and average for them is 11.62. For whole month I have 744 records and Average is 10.45.
For Feb, I have 24 records for one day but 672 for whole month as it has only 28 days.
For April till now I have 384+10 as its 10.49 cst right now.
I hope I am clear.
Regards