<?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 Wrong total in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415171#M1156926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an pivot table with this value. In the column "if sum" i want to display sumA if is &amp;gt;=1 or sumB if is &amp;lt;=0. &lt;/P&gt;&lt;P&gt;When i collapse the dimension Agent or Customer the sub total is wrong. It do the total of the total of sum a or sum b and not the total of the colum "if sum"&lt;/P&gt;&lt;P&gt;how can i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 460px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;AGENT&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="98"&gt;customer&lt;/TD&gt;&lt;TD class="xl65" width="88"&gt;SUM(A)&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="78"&gt;SUM(B)&lt;/TD&gt;&lt;TD&gt;if sum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customerA&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeG&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeR&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeB&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeF&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Totale&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;24&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;57&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;41&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 23:08:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-06T23:08:55Z</dc:date>
    <item>
      <title>Wrong total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415171#M1156926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an pivot table with this value. In the column "if sum" i want to display sumA if is &amp;gt;=1 or sumB if is &amp;lt;=0. &lt;/P&gt;&lt;P&gt;When i collapse the dimension Agent or Customer the sub total is wrong. It do the total of the total of sum a or sum b and not the total of the colum "if sum"&lt;/P&gt;&lt;P&gt;how can i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 460px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;AGENT&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="98"&gt;customer&lt;/TD&gt;&lt;TD class="xl65" width="88"&gt;SUM(A)&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="78"&gt;SUM(B)&lt;/TD&gt;&lt;TD&gt;if sum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customerA&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeG&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeR&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeB&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Agent2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;customeF&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Totale&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;24&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;57&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;41&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 23:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415171#M1156926</guid>
      <dc:creator />
      <dc:date>2013-03-06T23:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415172#M1156927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell me the data input? data displayed in the pivot without collapse?then after collapse?&lt;/P&gt;&lt;P&gt;On observing your table is it returns 14 for Agent1 on collapsing Agent1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 23:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415172#M1156927</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-03-06T23:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415173#M1156928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the value for total are 41 with collapse and 24 when i see the total for the uncollapse dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;such as 14 agent1 and 10 agent2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would optain 31 for agent1 (14 from sum1 and 17 from sum b) and 10 for agent2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now with the expression if(sum A &amp;gt;=, sum(A), sum (b)) i return me a wrong result if i uncollapse the dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 23:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415173#M1156928</guid>
      <dc:creator />
      <dc:date>2013-03-06T23:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415174#M1156929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 09:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415174#M1156929</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-07T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415175#M1156930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 16:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wrong-total-in-pivot-table/m-p/415175#M1156930</guid>
      <dc:creator />
      <dc:date>2013-03-07T16:54:47Z</dc:date>
    </item>
  </channel>
</rss>

