Fetching data from a previous row using date

You would use a variation of this.