Calculate averages from fields and set custom weekyear

Things I have tried

  1. I’ve looked and haven’t found how to create a table from the averages from my fields in the frontmatter. This is the closest thing I’ve found.

  2. I’m trying to set up a list of notes from each week, and i want to delimit the range by simply typing the week number (1-52), but I can’t manage to do it. I have this:

WHERE
file.day.weekyear = date(“W3”).weekyear

What I’m trying to do

I want to convert this (frontmatter):
image

Into this, but with Dataview and with an automatic way of calculating averages from a period of time:
image

I would really appreciate some help since I’m really new with Dataview and don’t understand it well even while reading the documentation.