Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Spent/Balance Column Totals #4116

Open
1 task done
Bsmith85282 opened this issue Jan 9, 2025 · 7 comments
Open
1 task done

[Bug]: Spent/Balance Column Totals #4116

Bsmith85282 opened this issue Jan 9, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@Bsmith85282
Copy link

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

image

The Issue: In the tracking budget with roll over - columns don't seem to add up correctly. Even after reading the documentation found at https://actualbudget.org/docs/getting-started/tracking-budget/ - under "How Money Rolls Over" It doesn't make sense that money in a rollover row from the "Budgeted" column would move to the 'Spent" column (shown in RED), and money in the spent column doesn't go towards spent totals (GREEN). Budgeted non roll over seems to work normally (YELLOW).

This also affects the "Balance" Column (no color).

I would expect each Column to total everything in that column. If looking at picture attached I would expect Budgeted to total up to 450.00 and Spent to total up to -23.81 and the balance column should add the two:
450 [Budgeted] + (-23.81) [Spent] = 426.19 [Balance]

Note I Cannot select more than one OS in the drop down but had this on both Mac OSX and Windows 11 Safari/Brave Respectively. This issue does not appear to be present on GitHub however, I did post in discord.

How can we reproduce the issue?

  1. Switch to Tracking Budget
  2. Have 2 or more rows
  3. assign a rollover balance to a row (positive or negative)
  4. In the row with the rollover balance add values to the "spent" and "Budgeted" columns
  5. Cry a little

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome, Safari

Operating System

Windows 11

@Bsmith85282 Bsmith85282 added the bug Something isn't working label Jan 9, 2025
@youngcw
Copy link
Member

youngcw commented Jan 9, 2025

Are there any categories that you stopped carrying forward in that shown month?

It will be a lot easier to confirm and try to fix anything if you can upload an example file. It can be a demo file.

@Bsmith85282
Copy link
Author

There was nothing that I stopped carrying over - everything with the -> by it was set to rollover.

I will try to upload a file later today for you!

@youngcw
Copy link
Member

youngcw commented Jan 15, 2025

Are you going to upload an example budget? If not Ill close this ticket.

@youngcw
Copy link
Member

youngcw commented Jan 16, 2025

One thing you can maybe try is to change to envelope budget then change back to a tracking budget. For some reason that fixed someone else's spent total issues.

@arekmano
Copy link

arekmano commented Feb 5, 2025

Chiming in as this is indeed occurring out in the wild. I've set up a minimal PoC here, to demonstrate the issue

  1. 100$ budget, 100$ spent , no rollover. Expenses and savings are as expected
Image
  1. 100$ budget, 100$ spent, rolled over to the following month. Expense disappears. Its as if I never spent that money
Image

@youngcw. What am I doing wrong here? Alternatively, what additional information would you need to track down the potential bug?

I've included the sample PoC budget in this comment

2025-02-04-My Finances 1.zip

@Thafar
Copy link

Thafar commented Feb 13, 2025

I see the same behavior as @Bsmith85282, the spent for a rollover category in a tracking budget seems broken:
Image

It seems that the rollover behavior in a tracking budget is primarily based on changes in balance:

  • Negative changes in balance do not count towards expenses/spent
  • Positive changes in balance do count towards expenses/spent

Not sure what is the reasoning behind this, but in my opinion it gives very unexpected behavior:

In the example below, I paid $100 twice and received $100 twice. So I spent/saved nothing.
Besides that, I budgeted $50 in October.
Now the overview tells me I saved $250 since my balance got increased by $150 in October and $100 in December.

Image

In my opinion, rollover categories should either:

  • Always count towards expenses, but then use the "spent" column and not the "balance" column
  • Never count towards expenses, but in the month that rollover spending stops it should use the sum of all the "spent" columns that rolled over into that month

Interested to hear how others see this.

@Mpic
Copy link

Mpic commented Feb 23, 2025

This seems related to #4321, and I can't make sense of the current behavior either :-/
I really would like to be able to use the tracking mode, but this needs clarification or fixing :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants