Bug 314021 - Improve Investment Performance by Account - Report
Summary: Improve Investment Performance by Account - Report
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 06:38 UTC by Robby Engelmann
Modified: 2017-03-25 07:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Engelmann 2013-01-28 06:38:28 UTC
In the last row it shows the sum of only the last column (Amount), but I would like to see also the sums of the other columns (Buys, Sells, Dividends Reinvested, Dividends Paid Out) and the overall "Annualized Return" and "Return On Investment". 

Reproducible: Always
Comment 1 NSLW 2017-03-25 07:22:33 UTC
Git commit 98af682ab80523768519ee7884933598ff9b08c8 by Łukasz Wojniłowicz.
Committed on 25/03/2017 at 07:21.
Pushed by wojnilowicz into branch 'master'.

Add totals row on table reports

Patch changes the way subtotals are delivered to the screen. Instead of
calculating subtotals in renderer, renderer identifies specific row as
totals row.
Things changed:
1) multiple subtotals possible instead of only one,
2) radesigned rank variable as follows
   0 - opening balance
   1 - major split of transaction
   2 - minor splits of transaction
   3 - closing balance
   4 - totals row
3) GroupIterator has been replaced by simpler code without any hacks
4) in case of multiple currencies only grand total isn't displayed and
not all totals
5) Investment Performance and Capital Gains report have all columns
subtotaled
FIXED-IN:5.0

Differential Revision: https://phabricator.kde.org/D5099

Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>

M  +60   -217  kmymoney/reports/listtable.cpp
M  +218  -36   kmymoney/reports/querytable.cpp
M  +5    -1    kmymoney/reports/querytable.h

https://commits.kde.org/kmymoney/98af682ab80523768519ee7884933598ff9b08c8