<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pivot Table - Sum Issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513338#M105318</link>
    <description>&lt;P&gt;If frontend chart expressions aren't yielding the correct result, this is often resulting from a problem in the data model, e.g. with wrong joins causing.&lt;/P&gt;
&lt;P&gt;For debugging, put the data in question into a table and see if you are getting wrong or correct sums there.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 10:47:29 GMT</pubDate>
    <dc:creator>Helga_W</dc:creator>
    <dc:date>2025-04-07T10:47:29Z</dc:date>
    <item>
      <title>Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513320#M105313</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having an issue with a pivot table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following as Dimenions:&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;Sub Category&lt;/P&gt;&lt;P&gt;Cost Group&lt;/P&gt;&lt;P&gt;PO-Line Number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Measure I have the following:&lt;/P&gt;&lt;P&gt;=sum((abcamount))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure (sum)&amp;nbsp; is adding up all the line numbers multiple times and the results are not accurate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts on a fix to this issue ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks - Jerryr&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 09:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513320#M105313</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2025-04-07T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513329#M105315</link>
      <description>&lt;P&gt;Provide some sample data please, as well what should be the expected output. It's hard to comment based on the information in your question.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 09:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513329#M105315</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2025-04-07T09:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513338#M105318</link>
      <description>&lt;P&gt;If frontend chart expressions aren't yielding the correct result, this is often resulting from a problem in the data model, e.g. with wrong joins causing.&lt;/P&gt;
&lt;P&gt;For debugging, put the data in question into a table and see if you are getting wrong or correct sums there.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513338#M105318</guid>
      <dc:creator>Helga_W</dc:creator>
      <dc:date>2025-04-07T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513350#M105320</link>
      <description>&lt;P&gt;Hi - Example of Data -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would suspect the pivot table provide me the same output with the ability to expand/collapse.&lt;/P&gt;&lt;P&gt;I think error is in the sum(abcamount)&lt;/P&gt;&lt;P&gt;Therefore when Expand Category 1, Sub Category 1, Cost Group A it should&lt;/P&gt;&lt;P&gt;display:&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;A&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1-1 10000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1-2 20000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1-3 22000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Category | Sub Category |&amp;nbsp; Cost Group |&amp;nbsp; PO Line Number | abcamount&lt;/P&gt;&lt;P&gt;1 |1&amp;nbsp; | A |1-1 | 10000&lt;/P&gt;&lt;P&gt;1 | 1&amp;nbsp; |A |1-2 |20000&lt;/P&gt;&lt;P&gt;1 | 2&amp;nbsp; |A |1-3 |22000&lt;/P&gt;&lt;P&gt;1 | 2&amp;nbsp; |A |1-1 |35000&lt;/P&gt;&lt;P&gt;1 | 3 | A |1-3| 58000&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 12:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513350#M105320</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2025-04-07T12:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513361#M105321</link>
      <description>&lt;P&gt;Just loaded the data you've provided, and this is what I am getting in a pivot table. Still don't understand what exactly you're looking for though.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, I don't see that the measure&amp;nbsp;&lt;SPAN&gt;is adding up all the line numbers multiple times, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or you're referring to Total rows?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sk88024_0-1744030785786.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179425i5E5F4BAD2DFE617C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sk88024_0-1744030785786.png" alt="sk88024_0-1744030785786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 13:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513361#M105321</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2025-04-07T13:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513368#M105323</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Yes, that is what I should be getting, but instead, I am getting something like:&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; A&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1-1&amp;nbsp; &amp;nbsp;30000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1-2 30000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason it is summing the values to the last level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IN the measure I have sum(abcamount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does Not make sense....may a different measure formula?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 13:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513368#M105323</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2025-04-07T13:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513441#M105332</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still stuck on this issue - any thoughts ? Jerry&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 06:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513441#M105332</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2025-04-08T06:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sum Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513465#M105335</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think you should check your data values using a table... and pull all the required columns as dimension. See if you're getting the correct data there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using a pivot table and &lt;SPAN&gt;sum(abcamount) as measure, then you should get the same result as the one from my screencap in my previous reply. But if you don't then, check your data... something is definitely not right in your data.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Sum-Issue/m-p/2513465#M105335</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2025-04-08T08:41:01Z</dc:date>
    </item>
  </channel>
</rss>

