There are not null values in your data, if I got it right, there are missing rows, though. It seems to me that your data looks like this:
WITH
tbl (CY_WEEK, RC, DURATION_MINUTES) AS
(
Select '2021_09', 'FOO', 75 From Dual Union All
Select '2021_11', 'FOO', 83 From Dual Union All
Select '2022_01', 'FOO', 69 From Dual Union All
Select '2022_03', 'FOO', 99 From Dual Union All
Select '2022_06', 'FOO', 78 From Dual Union All
Select '2022_07', 'FOO', 91 From Dual Union All
Select '2022_11', 'FOO', 97 From Dual Union All
Select '2022_12', 'FOO', 85 From Dual
)
If it is true then you should just divide the sum by 4. Something like here:
Select CY_WEEK, RC, DURATION_MINUTES,
Sum(DURATION_MINUTES) OVER() "TOTAL_MINS",
4 "NUM_OF_WEEKS",
Sum(DURATION_MINUTES) OVER() / 4 "WEEKLY_AVG_MINUTES"
From tbl
Where CY_WEEK Between '2022_08' And '2022_11' And RC = 'FOO'
CY_WEEK RC DURATION_MINUTES TOTAL_MINS NUM_OF_WEEKS WEEKLY_AVG_MINUTES
------- --- ---------------- ---------- ------------ ------------------
2022_11 FOO 97 97 4 24.25
With this sample data the result for previous 4 weeks (04 - 07) is:
...
Where CY_WEEK Between '2022_04' And '2022_07' And RC = 'FOO'
CY_WEEK RC DURATION_MINUTES TOTAL_MINS NUM_OF_WEEKS WEEKLY_AVG_MINUTES
------- --- ---------------- ---------- ------------ ------------------
2022_06 FOO 78 169 4 42.25
2022_07 FOO 91 169 4 42.25
You don't need the windowing clause either as where condition filters the data.
ADDITION - regarding different RCs
If you want the result per RC without filtering in WHERE clause then you should do OVER(Partition By RC) in analytic function. Below find added 1 more row to the sample data RC=BAZ and adjusted code and result.
... ...
Select '2022_11', 'BAZ', 43 From Dual Union All -- new row in sample data
... ...
Select CY_WEEK, RC, DURATION_MINUTES,
Sum(DURATION_MINUTES) OVER(PARTITION BY RC) "TOTAL_MINS",
4 "NUM_OF_WEEKS",
Sum(DURATION_MINUTES) OVER(PARTITION BY RC) / 4 "WEEKLY_AVG_MINUTES"
From tbl
Where CY_WEEK Between '2022_08' And '2022_11'
CY_WEEK RC DURATION_MINUTES TOTAL_MINS NUM_OF_WEEKS WEEKLY_AVG_MINUTES
------- --- ---------------- ---------- ------------ ------------------
2022_11 BAZ 43 43 4 10.75
2022_11 FOO 97 97 4 24.25