After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720490 - Problem with Average balance report
Problem with Average balance report
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Reports
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnucash-reports-maint
gnucash-reports-maint
: 638500 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-12-15 14:39 UTC by Cristian Marchi
Modified: 2018-06-29 23:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
data file for investment tutorial in GnuCash guide (5.08 KB, application/x-gnucash)
2013-12-15 14:39 UTC, Cristian Marchi
Details

Description Cristian Marchi 2013-12-15 14:39:45 UTC
Created attachment 264223 [details]
data file for investment tutorial in GnuCash guide

I've a problem with average balance report both in 2.4.13 and 2.5 version of GnuCash. I can't reproduce a graph like the one in the chapter 8.6.5 of GnuCash guide: that is a chart of the balance of a stock account based on "nearest in time" price.
To test I attach a GnuCash file with all the relevant data (the file is obtained by following the chapter about investments in the guide).
Comment 1 Cristian Marchi 2013-12-25 16:43:05 UTC
*** Bug 638500 has been marked as a duplicate of this bug. ***
Comment 2 Stefan 2015-12-10 18:46:00 UTC
In GnuCash 2.6.9 (from git Version 4241505+ 2015-10-06) on Win7 64bit:
This bug still exists.

Expected Output: For each data point in the diagram/table the value of the stock (y-value) should be evaluated from the "Price Editor" data "nearest in time" to the displayed x-value. The y-values should vary over time, if the price changed during the plotted time frame.

Actual Output: The first datapoint is okay. GnuCash retrieves the price nearest in time and calculates the total value.
All other datapoints in the report show the same y-value. The "nearest in time" is not evaluated, instead the value from the beginning of the repot is reused.
(Other averaging methods also don't change over time.)

Workaround: The "Net Worth Barchart" and "Net Worth Linechart" use the "nearist in time" correctly. For a stock it might make sense to not diplay "value of assets" and "liabilities", but instead to only display the "net worth".
Comment 3 John Ralls 2018-06-29 23:22:33 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=720490. Please continue processing the bug there and please update any external references or bookmarks.