Bug 463730

Summary: Investment Performance by Type (AllTime) Bond Total Annualized Return wrong
Product: [Applications] kmymoney Reporter: Andreas Freimuth <m.nemo>
Component: reportsAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Freimuth 2023-01-02 15:28:47 UTC
SUMMARY
***
Depending on selected Language (Deutsch, German, de), the calulated "Total Bond Anualized Return" is obviously wrong.
Total Bond: Annualized Return 0.42%
Summe Anleihe: Jahresrendite 75.88%
***


STEPS TO REPRODUCE
1.  Settings / Configure Language -> Deutsch (de)
2.  Restart KMyMoney
3.  See Reports / Investment Performance by Type (AllTime)
     

OBSERVED RESULT
The Total Annualized Return (Jahresrendit) for Bonds (Anleihen) is the plain SUM of percentvalues. (In my case 75.88 %)

EXPECTED RESULT
Some kind of weighted average over all bonds. 
With english translations en_US/en_GB the result is 0.42 (which appears kind of low, but not obviously wrong)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Debian Testing
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION