# Not just moving average but moving total

**URL:** <https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500>\
**Category:** Feature Requests\
**Created:** [7 August 2021 08:16 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500 "2021-08-07T08:16:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evan\_Reeves](https://forum.intervals.icu/user_avatar/forum.intervals.icu/evan_reeves/32/3567_2.png) [@Evan\_Reeves](https://forum.intervals.icu/u/Evan_Reeves)\
**Post date:** [7 August 2021 08:16 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/1 "2021-08-07T08:16:53Z")

</div>

In addition to the moving averages, would it be possible to get moving totals (for example a 7 day moving total that shows the total load of the past 7 days for each day) in the fitness graphs?

This is how Garmin does load on its bike computers. It shows the total load for the past 7 days, not the week (starting from Sunday or Monday).

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [7 August 2021 13:01 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/2 "2021-08-07T13:01:06Z")

</div>

I just added that as well as 42d and 60d versions.

---

<div class="post-metadata">

**Author:** ![Evan\_Reeves](https://forum.intervals.icu/user_avatar/forum.intervals.icu/evan_reeves/32/3567_2.png) [@Evan\_Reeves](https://forum.intervals.icu/u/Evan_Reeves)\
**Post date:** [7 August 2021 15:18 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/3 "2021-08-07T15:18:03Z")

</div>

Great! Thanks.

---

<div class="post-metadata">

**Author:** ![Laurent\_Caron](https://forum.intervals.icu/user_avatar/forum.intervals.icu/laurent_caron/32/37186_2.png) [@Laurent\_Caron](https://forum.intervals.icu/u/Laurent_Caron)\
**Post date:** [5 June 2023 00:54 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/4 "2023-06-05T00:54:07Z")

</div>

@david is there a fundamental difference in the way moving total and moving average are implemented on the fitness page?

When looking 1 month ahead, my moving total for weekly run distance is working, but my longer moving averages rescaled to weekly averages are broken. When looking in the past they look fine.

Feel free to check the “Run Mileage” chart on my fitness page, otherwise let me know if you need additional details!

Thanks,

Laurent

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [5 June 2023 05:32 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/5 "2023-06-05T05:32:31Z")

</div>

The distance plot isn’t currently available for future planned workouts. The moving average calculation respects that and stops at todays date. I have just updated the moving total calculation to do the same. It isn’t correct to show it plotted into the future because future distance isn’t supported (yet).

---

<div class="post-metadata">

**Author:** ![Laurent\_Caron](https://forum.intervals.icu/user_avatar/forum.intervals.icu/laurent_caron/32/37186_2.png) [@Laurent\_Caron](https://forum.intervals.icu/u/Laurent_Caron)\
**Post date:** [5 June 2023 12:30 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/6 "2023-06-05T12:30:08Z")

</div>

Thanks for the quick turnaround! I can confirm that the future moving total is now disabled… Now that makes me wonder : where is the future distance plot located in your backlog?

Thanks again for the great work!

Laurent

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [5 June 2023 17:19 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/7 "2023-06-05T17:19:29Z")

</div>

Tx. I just implemented support for distance from planned workouts on the calendar in the future. I didn’t realise it was mostly done already yesterday. You need to delete and re-add distance plots from your custom charts to get the update.

---

<div class="post-metadata">

**Author:** ![Laurent\_Caron](https://forum.intervals.icu/user_avatar/forum.intervals.icu/laurent_caron/32/37186_2.png) [@Laurent\_Caron](https://forum.intervals.icu/u/Laurent_Caron)\
**Post date:** [11 June 2023 18:44 UTC](https://forum.intervals.icu/t/not-just-moving-average-but-moving-total/4500/8 "2023-06-11T18:44:15Z")

</div>

@david it worked, thanks a lot!!

FYI I first tried re-adding @Basmith 's Run Mileage plot but it must be implemented using the old version. So I rebuilt it from scratch instead.

Thanks again!

Laurent
