One instance a day for amount of days

I have gauging coming in from prometheus that will be set and changed once a day, is there a way to get the total of these gauges by adding one instance per day for the given time range from the graph?