[kmymoney] [Bug 427541] Report Filter Bug
Ralf Habacker
bugzilla_noreply at kde.org
Mon Feb 16 06:06:09 GMT 2026
https://bugs.kde.org/show_bug.cgi?id=427541
Ralf Habacker <ralf.habacker at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ralf.habacker at freenet.de
--- Comment #11 from Ralf Habacker <ralf.habacker at freenet.de> ---
Created attachment 189636
--> https://bugs.kde.org/attachment.cgi?id=189636&action=edit
Minimal test case
Using a minimal test file with two investment accounts:
Assets
├─ Shares (BHP)
├─ Shares (RIO)
└─ Shares (Brokerage)
Transactions by Category behaves correctly:
- Unfiltered: BHP + RIO both appear
- Filtered to RIO: only RIO appears
Baseline: Transactions by Category (BHP + RIO)
This export shows both investment roots contribute correctly:
Investment-only actions (Add/Remove shares):
"2022-08-01",...,"BHP","","5.00"," 1.00"," 5.00"
"2022-09-01",...,"BHP","","-5.00"," 1.00"," -5.00"
"2023-08-01",...,"RIO","","3.00"," 1.00"," 3.00"
"2023-09-01",...,"RIO","","-3.00"," 1.00"," -3.00"
Expense → Brokerage (both investments present):
"2022-01-10",...,"Brokerage","BHP","Buy shares",...," -25.00"
"2023-01-10",...,"Brokerage","RIO","Buy shares",...," -25.00"
Total Brokerage ... " -50.00"
Income → Dividend / Interest (both investments present):
... "Dividend","BHP", ...
... "Dividend","RIO", ...
... "Interest","BHP", ...
... "Interest","RIO", ...
Total Income ... " 6,533.00"
Conclusion:
With no account filter applied, the report engine aggregates splits from both
Shares (BHP) and Shares (RIO) correctly across Expense and Income categories.
Filtered: Transactions by Category (RIO only)
This export shows that when you filter to RIO only:
All BHP rows are removed
All RIO rows remain
Category totals recalculate correctly
Examples:
"2023-01-10","","Brokerage","RIO","Buy shares",...," -25.00"
...
"2023-03-10","","Dividend","RIO","Dividend",...," 1,200.00"
...
"2023-05-01","","Interest","RIO","Interest income",...," 80.00"
Totals:
Total Brokerage ... " -25.00"
Total Dividend ... " 1,200.00"
Total Interest ... " 120.00"
Grand Total ... " 1,295.00"
Conclusion:
For this specific report configuration, the account filter is applied correctly
and selectively.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list