<?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 Totals - Incorrect in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546530#M691521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your total line, the conditon [Component Code] = [ITEM CODE] is ambiguous, so QV can't evaluate to TRUE.&lt;/P&gt;&lt;P&gt;I am not really sure what you are trying to achieve, but maybe this works for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL if([Component Code] = [ITEM CODE], &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Loc Qty on PO]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 09:24:43 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-09-20T09:24:43Z</dc:date>
    <item>
      <title>Pivot Table Totals - Incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546529#M691520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with totals on a pivot table. The total should show 10,000 , but appears blank.&amp;nbsp;&amp;nbsp; Below is a screen shot of the pivot table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My formula is as follows for JHB - PO:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Component Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ITEM CODE]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Loc Qty on PO]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Under the total mode i've tried both Expression Total ans SUm, the result is still zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Your help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Nayan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="pivot table.jpg" class="jive-image" src="/legacyfs/online/46740_pivot table.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 07:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546529#M691520</guid>
      <dc:creator />
      <dc:date>2013-09-20T07:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals - Incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546530#M691521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your total line, the conditon [Component Code] = [ITEM CODE] is ambiguous, so QV can't evaluate to TRUE.&lt;/P&gt;&lt;P&gt;I am not really sure what you are trying to achieve, but maybe this works for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL if([Component Code] = [ITEM CODE], &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Loc Qty on PO]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 09:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546530#M691521</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-20T09:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals - Incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546531#M691522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replying.&amp;nbsp;&amp;nbsp; Your formula did not work exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table above is part of a buying template (see below)&lt;/P&gt;&lt;P&gt;When we buy we look at the actual components sold&amp;nbsp; . &lt;/P&gt;&lt;P&gt;The totals figures you see are totals of FEEMS.&amp;nbsp; So when we buy, we look at the totals .&amp;nbsp; for JHB - PO , the total does not appear which makes it difficult (more awkward)&amp;nbsp; to work out stock required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PO stands for Purchase Order&lt;/LI&gt;&lt;LI&gt;The figures are all multiplied by component qty.&amp;nbsp; So for eg, Sales for FBCP12 in May-13 is actually 10. Therefore the sales of&amp;nbsp; component (FEEMS) is 20.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your formula given did not work exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pivot Table - Buying Template.jpg" class="jive-image" src="/legacyfs/online/46735_Pivot Table - Buying Template.jpg" style="width: 620px; height: 221px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546531#M691522</guid>
      <dc:creator />
      <dc:date>2013-09-20T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals - Incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546532#M691523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, just to clarify, we only buy the FEEMS and the ITEM CODE's is out finished product that we build. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546532#M691523</guid>
      <dc:creator />
      <dc:date>2013-09-20T10:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals - Incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546533#M691524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any feedback on my last reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 12:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-Incorrect/m-p/546533#M691524</guid>
      <dc:creator />
      <dc:date>2013-09-25T12:53:18Z</dc:date>
    </item>
  </channel>
</rss>

