actualbudget / actualbudget/actual

[Bug]: Custom Reports with 'Tag' filters do not calculate values of tagged top level split transactions

Open
#5,640 2 comments 0 reactions 0 assignees View on GitHub
help wanted reports
Dominant language
TypeScript
Stars
28.7k
Forks
3k
Avg merge
2d 11h
Merged PRs (30d)
65

Description

### Verified issue does not already exist?

- [x] I have searched and found no existing issue

### What happened?

I created a custom Pie Chart report to break down the amount spent with a Tag filter. The numbers were definitely wrong, when I realized I had tagged the Top Level of a split transaction instead of tagging each individual line item under the transactions

### How can we reproduce the issue?

Create a split transaction in an account and tag the top level of the split with a tag:

- Test transaction #test-tag = $50
- Plane Ticket #test-tag = $1000
--- Ticket = $750
--- Seat Upgrade = $250

Create a custom report with the filter `Has Tag #test-tag`

See that the value will be equal to $50 instead of $1050

Now, if you tag each subtransaction of the split transaction with `#test-tag`, then you will see that the chart is properly calculated

### Where are you hosting Actual?

Docker

### What browsers are you seeing the problem on?

Firefox

### Operating System

Linux

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.