Bug 450619 - Investments not showing up in report but their securities are showing up in WRONG investment
Summary: Investments not showing up in report but their securities are showing up in W...
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: reports (show other bugs)
Version: 5.0.8
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-20 16:05 UTC by lp.allard.1
Modified: 2022-02-20 16:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lp.allard.1 2022-02-20 16:05:52 UTC
SUMMARY
***
When generating a report for investments, for example "Investment Worth Graph", some portfolios that were closed in the past (they were sold and cashed out) are not showing up in the report, but the underlying securities are still showing up, but under a different portfolio.
***

Example:

Portfolio A
Security 11 = 1000
Security 21 = 1000
Security 31 = 1000
TOTAL 3000

Portfolio B (sold in 2019)
Security 12 = 1000
Security 22 = 1000
Security 32 = 1000
TOTAL 3000

When generating reports I see

Portfolio A
Security 11 = 1000
Security 21 = 1000
Security 31 = 1000
Security 12 = 1000
Security 22 = 1000
Security 32 = 1000
TOTAL 6000

Additionally, the portfolio that was cashed out closed was never under the remaining portfolio, and was not sharing any securities (they are from two distinct investment firms with very different securities with different symbols).  Moreover, the closed portfolio was not located (in the accounts page) under the remaining portfolio.

SOFTWARE/OS VERSIONS
KDE Frameworks 5.68.0
Qt 5.12.8 (built against 5.12.8)
The xcb windowing system

ADDITIONAL INFORMATION
System:    Kernel: 5.4.0-100-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Gnome 3.36.9 
           wm: xfwm4 dm: GDM3, LightDM Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Comment 1 lp.allard.1 2022-02-20 16:45:49 UTC
Just found out that if I re-open the missing accounts, they shows up in the reports and their securities are moving back under them as it should. 

***However, I dont understand how this works.***

I close accounts when they will NO longer be in use (such as after selling and cashing out) and permanently closed, and hiding them from the accounts page makes it easier to navigate.  If I have to re-open all closed accounts I literally have over 200 accounts and securities in my accounts page and it becomes impossible to work with this.....

However, these account ***still need*** to show up in reports and calculations because not showing up messes everything up with the data presentation (amounts reported in wrong locations or simply missing), and because they contain information from the past that impacts the present data (such as performance rates, net worth, etc).

I'm curious to see how people are dealing with this.  I sense account handling is still a gray zone for most people in KMM.