Skip to content

income statement: add interval averages to report values - #2314

Open
vahidmah wants to merge 1 commit into
beancount:mainfrom
vahidmah:feature/issues-2148
Open

income statement: add interval averages to report values#2314
vahidmah wants to merge 1 commit into
beancount:mainfrom
vahidmah:feature/issues-2148

Conversation

@vahidmah

Copy link
Copy Markdown
Contributor

Implement the average view requested in #2148 by adding an average query parameter (day/week/month/quarter/year) and applying the computed divisor across income statement trees and charts.

Add frontend support for selecting and syncing the average interval in the URL, include per-currency bar chart averages in the API payload, and adjust number formatting to preserve useful precision for averaged values.

Update API/frontend tests and snapshots for the new behavior.

Fix issue, #2148

@vahidmah
vahidmah force-pushed the feature/issues-2148 branch from bd36740 to b91663e Compare July 19, 2026 19:23
@vahidmah

Copy link
Copy Markdown
Contributor Author

@yagebu, please let me know if you have any concerns with this implementation.

@vahidmah
vahidmah force-pushed the feature/issues-2148 branch from b91663e to 6c62beb Compare July 19, 2026 19:37
Implement the average view requested in beancount#2148 by adding an `average`
query parameter (day/week/month/quarter/year) and applying the computed
divisor across income statement trees and charts.

Add frontend support for selecting and syncing the average interval in
the URL, include per-currency bar chart averages in the API payload, and
adjust number formatting to preserve useful precision for averaged values.

Update API/frontend tests and snapshots for the new behavior.
@vahidmah
vahidmah force-pushed the feature/issues-2148 branch from 6c62beb to 2d0243f Compare July 19, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant