I have a couple of history stats that I use to calculate how long my wifes blood glucose levels have been in range over 24 hrs, 7 days, 14 days and 30 days however when i set a duration of say 7 days it seems to reset back to 0 at midnight each day rather than sum the cumulative total.
When i go to check the values they are all the same
now I only started yesterday so surely the week one value should be yesterdays total plus that of todays ? It appears at midnight the value is going back down to zero
what am I doing wrong as this should be a cumulative total for the last 7 days