[PR #5641] Reports - Add an option to trim the start & end intervals #13101

Closed
opened 2026-04-10 21:47:16 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5641

State: closed
Merged: Yes


Purpose of this feature

My budget data goes back to 2015, but some charts only have meaningful entries starting from 2018. I use live ranges to keep charts up to date, but there's currently no way to set a custom start date and use live ranges - it's just "all time":

image

This results in charts cluttered with empty space. That’s where the option to Trim intervals comes in. It automatically removes empty periods from the beginning and end of the report, making the charts cleaner. This is more flexible than just adding a start date to the live range because it also works on end dates where there is no data (trimming end intervals).

Below are some examples.

Before (intervals at start show as empty)

image

After:

Empty intervals at start are trimmed
image

Trims the empty intervals at the start and end
trims end

Preserves empty intervals in the middle of the dataset
preserves empty intervals in middle

Trims the intervals via the grouped-spreadsheet
table

**Original Pull Request:** https://github.com/actualbudget/actual/pull/5641 **State:** closed **Merged:** Yes --- <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Purpose of this feature My budget data goes back to 2015, but some charts only have meaningful entries starting from 2018. I use live ranges to keep charts up to date, but there's currently no way to set a custom start date and use live ranges - it's just "all time": <img width="299" height="133" alt="image" src="https://github.com/user-attachments/assets/19fe486c-77f9-4f37-a522-149783377cd5" /> This results in charts cluttered with empty space. That’s where the option to Trim intervals comes in. It automatically removes empty periods from the beginning and end of the report, making the charts cleaner. This is more flexible than just adding a start date to the live range because it also works on end dates where there is no data (trimming end intervals). Below are some examples. ### Before (intervals at start show as empty) <img width="1039" height="326" alt="image" src="https://github.com/user-attachments/assets/25e84af0-7e93-46ca-b5e8-a85baea5ec00" /> ### After: **Empty intervals at start are trimmed** <img width="1127" height="344" alt="image" src="https://github.com/user-attachments/assets/14c0fffa-4c88-4974-920e-3b065ad351f9" /> **Trims the empty intervals at the start and end** ![trims end](https://github.com/user-attachments/assets/54f62fea-bbd6-49f9-8525-2d47cc2517f8) **Preserves empty intervals in the middle of the dataset** ![preserves empty intervals in middle](https://github.com/user-attachments/assets/52b36c55-d074-4cba-9642-e5b91c1fdd20) **Trims the intervals via the grouped-spreadsheet** ![table](https://github.com/user-attachments/assets/eee7d9a2-5155-41e5-a70f-d1d12b350cd1)
GiteaMirror added the pull-request label 2026-04-10 21:47:16 -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#13101