So I have a salesInHour column which increments in an hour and then restarts if the next hour, Day, month or year changes. So my data set looks something like this: