[Feature] Improvement proposal for the average template #2497

Closed
opened 2026-02-28 20:15:58 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Tommaso-n on GitHub (Sep 23, 2025).

Verified feature request does not already exist?

  • I have searched and found no existing issue

💻

  • Would you like to implement this feature?

Pitch: what problem are you trying to solve?

Improvement to average template

Describe your ideal solution to this problem

I'd like to propose an improvement for the #template average x command.

Currently, the template simply calculates the average of the last x months, for example:

#template average 3 months

I propose adding the option to round the result, specifying both the rounding type and the weight. The syntax could be:

Downward:

#template average<P x months

Standard rounding (upward to 0.5 or more, downward otherwise):

#template average-P x months

Upward:

#template average>P x months

Where P is an integer indicating the rounding weight (1, 5, 10, etc.).

Practical example:
If #template average 3 months returns 105.6:

#template average-1 3 months would return 106
#template average<5 3 months would return 105
#template average>10 3 months would return 110

Teaching and learning

No response

Originally created by @Tommaso-n on GitHub (Sep 23, 2025). ### Verified feature request does not already exist? - [x] I have searched and found no existing issue ### 💻 - [ ] Would you like to implement this feature? ### Pitch: what problem are you trying to solve? Improvement to average template ### Describe your ideal solution to this problem I'd like to propose an improvement for the `#template average x` command. Currently, the template simply calculates the average of the last x months, for example: ``` #template average 3 months ``` I propose adding the option to round the result, specifying both the rounding type and the weight. The syntax could be: Downward: ``` #template average<P x months ``` Standard rounding (upward to 0.5 or more, downward otherwise): ``` #template average-P x months ``` Upward: ``` #template average>P x months ``` Where `P` is an integer indicating the rounding weight (1, 5, 10, etc.). Practical example: If `#template average 3 months` returns 105.6: `#template average-1 3 months` would return 106 `#template average<5 3 months` would return 105 `#template average>10 3 months` would return 110 ### Teaching and learning _No response_
GiteaMirror added the needs votesfeaturegoal templates labels 2026-02-28 20:15:58 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 23, 2025):

Thanks for sharing your idea!

This repository uses a voting-based system for feature requests. While enhancement issues are automatically closed, we still welcome feature requests! The voting system helps us gauge community interest in potential features. We also encourage community contributions for any feature requests marked as needing votes (just post a comment first so we can help guide you toward a successful contribution).

The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+

Don’t forget to upvote the top comment with 👍!

@github-actions[bot] commented on GitHub (Sep 23, 2025): :sparkles: Thanks for sharing your idea! :sparkles: This repository uses a voting-based system for feature requests. While enhancement issues are automatically closed, we still welcome feature requests! The voting system helps us gauge community interest in potential features. We also encourage community contributions for any feature requests marked as needing votes (just post a comment first so we can help guide you toward a successful contribution). The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+ Don’t forget to upvote the top comment with 👍! <!-- feature-auto-close-comment -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2497