Hi, I have shared screen grab of table below. In this case dataset does not have data for few weeks which should be considered as 1 and running Avg needs to be calculated including the missing weeks.
QuickSight does not have a function or feature that provides the ability to fill in empty gaps within your data; at least not in a scenario like your ‘week no’ field. You would need to edit your dataset to include the gaps in week no’s.
If you had every week no, you could build an ifelse statement with the isNull function; which will allow you to replace empty fields with a value of your choice, like 1.