<?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: Re: Re: Incorrect Total in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591534#M1094932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for taking time to explain this to me...I just learned something new today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2014 15:27:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-08T15:27:48Z</dc:date>
    <item>
      <title>Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591519#M1094917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello!&amp;nbsp; Pls. need your help now as I've spent for hours solving this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My total in pivort table and text box is incorrect...some were duplicated (I'm expecting a total value of 26K)...I also tried using the aggr function but the value does not&amp;nbsp; change.&amp;nbsp; Is there something wrong with my script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 22:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591519#M1094917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-02T22:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591520#M1094918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to say what is right or what is wrong without knowing what you want to model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some records which seems to be only different in PostDate and SONumber. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your facts show for example some movement of Material from one place to another, joing the Material price to each record will sum up to a too high material value (since the same material is counted multiple times).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But without knowing what you want to model and analyze etc. it's kind of guessing around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 23:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591520#M1094918</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-02T23:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591521#M1094919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&amp;nbsp; Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm trying to get the total value per row....Since I don't have the std price&amp;nbsp; for my table, I joined another table&amp;nbsp; where&amp;nbsp; std price is available,,,,Basically , My value should be Quantity * Std price...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I didn't explain it clearly...I'm still new with Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 23:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591521#M1094919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-02T23:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591522#M1094920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to &lt;STRONG&gt;not&lt;/STRONG&gt; join your tables, how your data model looks like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2014 00:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591522#M1094920</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-05-03T00:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591523#M1094921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cacosta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reload and check the attached file if it works...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2014 04:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591523#M1094921</guid>
      <dc:creator>rajat2392</dc:creator>
      <dc:date>2014-05-03T04:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591524#M1094922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry!&amp;nbsp; It didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 23:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591524#M1094922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-05T23:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591525#M1094923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp;&amp;nbsp; Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't join them, How can I get the value?...The price is on a separate table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 23:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591525#M1094923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-05T23:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591526#M1094924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi cacosta35,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share you source qvd files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you don't have to join some tables, but I can't tell which without source tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 00:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591526#M1094924</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-05-06T00:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591527#M1094925</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The reason for total not correct is your data gets duplicated when you are joining them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Make sure that the table which you are joining (Table after Left Join Statement) has the unique record for the field which you are using for joining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If this is not the case then it will duplicate the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 04:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591527#M1094925</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2014-05-06T04:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591528#M1094926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Sergey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. see attached qvds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 16:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591528#M1094926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-06T16:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591529#M1094927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is your preceding load&lt;/P&gt;&lt;P&gt;I moved it to the first load and now everything is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 01:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591529#M1094927</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-05-07T01:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591530#M1094928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, Sergey...You just saved my day...I've been stuck with this for days now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I'm just wondering why I have to move my first load as most of my script structure are somewhat the same without any problem....and can yopu enlighten me why we need to put distinct at the Material field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591530#M1094928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-07T18:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591531#M1094929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totally apart table? Don´t they have a key between them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 19:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591531#M1094929</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-05-07T19:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591532#M1094930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I should say that I didn't understand why you did additional preceding load, because I didn't see any reason for this except optimized load from qvd, but you didn't have it because of data transformation in the first load from qvd.&lt;/P&gt;&lt;P&gt;But I should add that now I don't understand why your preceding load affect to your results... Because if I just&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;LOAD text(Material) as Material,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plant,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerName, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaterialDescription as [Material Description], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PostDate, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SONumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MPN,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text(Vendor- left(Vendor,4)) as Vendor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DONumber, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AgeDays , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(Quantity,'###,###,##0') as [Total Quantity], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text(Batch) as Batch, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustPO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustMaterial &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Stage2_GhubAging.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;The problem appears.. it's weird, but.. at the moment I have&amp;nbsp; no comments.. I will try to sort it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for Material, you need to use Distinct because you have a lot of materials with Null() in both fields of Ref_STDPrice.qvd, so you probably need to cut them by WHERE or at least Distinct, but it was not a cause of problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 01:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591532#M1094930</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-05-08T01:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591533#M1094931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So. I see that in your Stage2_GhubAging.qvd you have duplicates &lt;/P&gt;&lt;P&gt;With Distinct there are only 3513 rows and without distinct 14470.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably you have some joins when you create Stage2_GhubAging.qvd.&lt;/P&gt;&lt;P&gt;And you can use your preceding load if you want. But just add DISTINCT and you will not have the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 02:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591533#M1094931</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-05-08T02:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Incorrect Total in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591534#M1094932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for taking time to explain this to me...I just learned something new today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 15:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-Total-in-Pivot-Table/m-p/591534#M1094932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-08T15:27:48Z</dc:date>
    </item>
  </channel>
</rss>

