[PR #4302] [MERGED] improve summary report monthly average calculation #31234

Closed
opened 2026-04-18 07:30:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4302
Author: @matt-fidd
Created: 2/6/2025
Status: ✅ Merged
Merged: 3/4/2025
Merged by: @matt-fidd

Base: master ← Head: summary-average-months


📝 Commits (9)

  • 30a3ce5 improve summary card monthly average calculation
  • 7e1dcba note
  • 0a4e977 Merge branch 'master' into summary-average-months
  • 30b4f11 Merge branch 'master' into summary-average-months
  • 4c9cf92 minor cleanup
  • 24a42b6 Merge branch 'master' into summary-average-months
  • 3c87bce Merge branch 'master' into summary-average-months
  • 83b191c Merge branch 'master' into summary-average-months
  • dcbca39 Merge branch 'master' into summary-average-months

📊 Changes

2 files changed (+17 additions, -3 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/spreadsheets/summary-spreadsheet.ts (+11 -3)
➕ upcoming-release-notes/4302.md (+6 -0)

📄 Description

At the moment summary reports take into account the entire current month when doing the average calculation.
This makes the average too low at the start of the month and is only accurate at the end.

This changes the divisor to accurately calculate for the amount of time through the current month (Screenshots taken on the 6th of February).

Before:
image

After:
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4302 **Author:** [@matt-fidd](https://github.com/matt-fidd) **Created:** 2/6/2025 **Status:** ✅ Merged **Merged:** 3/4/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `summary-average-months` --- ### 📝 Commits (9) - [`30a3ce5`](https://github.com/actualbudget/actual/commit/30a3ce53534cffa2423cd9b11a3324bfc82b547f) improve summary card monthly average calculation - [`7e1dcba`](https://github.com/actualbudget/actual/commit/7e1dcbada0518fb0d9cfbf55ba8d4750720dd937) note - [`0a4e977`](https://github.com/actualbudget/actual/commit/0a4e9774161bf27a7ab6eb375f921d98a091fea7) Merge branch 'master' into summary-average-months - [`30b4f11`](https://github.com/actualbudget/actual/commit/30b4f11a0f9871cb7816c473d8d468eb169dabf1) Merge branch 'master' into summary-average-months - [`4c9cf92`](https://github.com/actualbudget/actual/commit/4c9cf9228628f81b0eebbfe26a31268d218b6c09) minor cleanup - [`24a42b6`](https://github.com/actualbudget/actual/commit/24a42b6959c6fea4393cd2449d27d5b465608198) Merge branch 'master' into summary-average-months - [`3c87bce`](https://github.com/actualbudget/actual/commit/3c87bce0186b910260cb331c79f955a905b41086) Merge branch 'master' into summary-average-months - [`83b191c`](https://github.com/actualbudget/actual/commit/83b191c125a1832ab2a6d94396e5af51a72442db) Merge branch 'master' into summary-average-months - [`dcbca39`](https://github.com/actualbudget/actual/commit/dcbca39606b698ed812bd1e2ab980e9032aac63d) Merge branch 'master' into summary-average-months ### 📊 Changes **2 files changed** (+17 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/spreadsheets/summary-spreadsheet.ts` (+11 -3) ➕ `upcoming-release-notes/4302.md` (+6 -0) </details> ### 📄 Description At the moment summary reports take into account the entire current month when doing the average calculation. This makes the average too low at the start of the month and is only accurate at the end. This changes the divisor to accurately calculate for the amount of time through the current month (Screenshots taken on the 6th of February). Before: <img width="979" alt="image" src="https://github.com/user-attachments/assets/47e75597-cefc-4280-b584-6d6a028a6f3d" /> After: <img width="977" alt="image" src="https://github.com/user-attachments/assets/ecb818ab-1947-4d00-aea1-0a0d5719ad25" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-18 07:30:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#31234