<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>427868</bug_id>
          
          <creation_ts>2020-10-17 14:45:44 +0000</creation_ts>
          <short_desc>Report: Double values &quot;Investments Holdings Pie&quot;</short_desc>
          <delta_ts>2024-12-19 10:13:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>reports</component>
          <version>5.0.8</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>michael.spahr</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          <cc>jgfolsom</cc>
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/commit/d3c67739566da030fe2eceac4e08ab22271d6e97</cf_commitlink>
          <cf_versionfixedin>5.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1965865</commentid>
    <comment_count>0</comment_count>
    <who name="">michael.spahr</who>
    <bug_when>2020-10-17 14:45:44 +0000</bug_when>
    <thetext>SUMMARY


STEPS TO REPRODUCE
1. Öffne Standard-Report &quot;Tortengrafik für Investition&quot;
1. Open the standard report &quot;&quot;Pie graphic for investment&quot;&quot;

OBSERVED RESULT
Die angezeigten Werte entsprechen das doppelte der Investitionswerte
The displayed values ​​correspond to twice the investment values

EXPECTED RESULT
Die Werte der tatsächlichen Investitionen sollen angezeigt werden.
The values ​​of the actual investments should be displayed.




SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: LUbuntu 20.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Ist schon seit mehreren Versionen so. Und zwar seit der Einführung der &quot;Opening&quot; in den einzelnen Berichten

Has been like this for several versions. Since the introduction of the &quot;Opening&quot; in the individual reports</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2218631</commentid>
    <comment_count>1</comment_count>
    <who name="">jgfolsom</who>
    <bug_when>2023-03-27 06:31:26 +0000</bug_when>
    <thetext>This is also happening to me on v5.1.3.

kmymoney 5.1.3
Kubuntu 20.04.6
Linux (x86_64) release 5.4.0-139-generic
KDE Frameworks 5.68.0
Qt 5.12.8 (built against 5.12.8)
The xcb windowing system

Interestingly, the default &quot;Investment Holdings by Account&quot; and &quot;Investment Holdings by Type&quot; reports show the correct values. But the default &quot;Investment Holdings Pie&quot; report shows values that are twice the actual values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2219677</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2023-04-01 14:13:00 +0000</bug_when>
    <thetext>Git commit 8c8ba2f817d7d6db439643563d3d46b101efb9ca by Thomas Baumgart.
Committed on 01/04/2023 at 14:12.
Pushed by tbaumgart into branch &apos;master&apos;.

Don&apos;t calculate the running sum for pie chart reports

This avoids doubleing the actual value in the chart

M  +1    -2    kmymoney/plugins/views/reports/core/pivottable.cpp

https://invent.kde.org/office/kmymoney/commit/8c8ba2f817d7d6db439643563d3d46b101efb9ca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2219678</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2023-04-01 14:14:12 +0000</bug_when>
    <thetext>Git commit d3c67739566da030fe2eceac4e08ab22271d6e97 by Thomas Baumgart.
Committed on 01/04/2023 at 14:13.
Pushed by tbaumgart into branch &apos;5.1&apos;.

Don&apos;t calculate the running sum for pie chart reports

This avoids doubleing the actual value in the chart
FIXED-IN: 5.1.4

(cherry picked from commit 8c8ba2f817d7d6db439643563d3d46b101efb9ca)

M  +1    -2    kmymoney/plugins/views/reports/core/pivottable.cpp

https://invent.kde.org/office/kmymoney/commit/d3c67739566da030fe2eceac4e08ab22271d6e97</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2219732</commentid>
    <comment_count>4</comment_count>
    <who name="">jgfolsom</who>
    <bug_when>2023-04-01 21:06:56 +0000</bug_when>
    <thetext>Thank you, Thomas. We appreciate your hard work.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>