This forum has been archived. All content is frozen. Please use KDE Discuss instead.

"Report"ing "Units". Bug or I'm just wrong ?

Tags: None
(comma "," separated)
blep0
Registered Member
Posts
1
Karma
0
Hi,

When I draw a "Report" for "Units" as following :
Image

The total amount each month is
number of units each month x last value
Shouldn't it be
number of units each month x mean unit value for each month
or
number of units each month x last unit value of the month
?
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
blep0 wrote:Hi,

When I draw a "Report" for "Units" as following :
Image

The total amount each month is
number of units each month x last value
Shouldn't it be
number of units each month x mean unit value for each month
or
number of units each month x last unit value of the month
?


In Skrooge, each operation has a "current amount"=quantity * last value.
All reports are based on this "current amount".
This is why, you are right, the amount of each month is "number of units each month x last value".
This is easier for computation.

Normally, if you have a transaction like this:
2012/09/01 - 100 IBM (means 100 shares IBM)
and if the amount of IBM is like this
Code: Select all
2012/09/01 - 1 €
2012/09/10 - 2 €
2012/09/20 - 3 €


The history report should present this:
Code: Select all
2012/09/01 - 100 €
2012/09/10 - 200 €
2012/09/20 - 300 €


This is very complex and very bad for performances.
This is why we choose to always evaluate the amount of each operation with the last value of its unit.


Skrooge, a personal finances manager powered by KDE
Image - PayPal


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell