<?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: Preceding Load not working properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606825#M684412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is loading from a resident table created in QlikView.&amp;nbsp; Here's the entire bit of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sourcingclass_1:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT tbl_sourcing.AX_PO_NUM AS AX_PO_NUM, &lt;/P&gt;&lt;P&gt;&amp;nbsp; tbl_sourcing.AX_CLASS AS AX_CLASS&lt;/P&gt;&lt;P&gt;RESIDENT tbl_sourcing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class_sub:&lt;/P&gt;&lt;P&gt;LOAD COUNT(DISTINCT AX_PO_NUM)&amp;gt;1;&lt;/P&gt;&lt;P&gt;LOAD 1 AS ROWCOUNT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AX_PO_NUM,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AX_CLASS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MULTIPLE CLASSES' AS CLASS_DUP&lt;/P&gt;&lt;P&gt;RESIDENT sourcingclass_1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 19:23:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-04T19:23:11Z</dc:date>
    <item>
      <title>Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606818#M684405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello my QlikView friends.&amp;nbsp; Will someone please explain to me what is wrong with this statement?&amp;nbsp; Thank you&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class_sub:&lt;/P&gt;&lt;P&gt;LOAD COUNT(DISTINCT AX_PO_NUM)&amp;gt;1;&lt;/P&gt;&lt;P&gt;LOAD 1 AS ROWCOUNT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AX_PO_NUM,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AX_CLASS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MULTIPLE CLASSES' AS CLASS_DUP&lt;/P&gt;&lt;P&gt;RESIDENT sourcingclass_1; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606818#M684405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T19:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606819#M684406</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;What is the output you desire ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606819#M684406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T19:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606820#M684407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't filter like this (I assume this was going to be a filter). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD COUNT(DISTINCT AX_PO_NUM)&amp;gt;1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Moreover GROUP BY is required for aggregate function like COUNT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;What are you trying to do? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606820#M684407</guid>
      <dc:creator />
      <dc:date>2014-02-04T19:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606821#M684408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The syntaxer does not return an error but you cannot use the where clause COUNT... You have to do it in some steps&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;class_sub:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD 1 AS ROWCOUNT,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; AX_PO_NUM,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; AX_CLASS,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 'MULTIPLE CLASSES' AS CLASS_DUP&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT sourcingclass_1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LEFT JOIN (class_sub)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD&amp;nbsp; AX_PONUM, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;COUNT(DISTINCT AX_PO_NUM) as COUNTER&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RESIDENT class_sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;GROUP BY AX_PO_NUM;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;class_sub_final:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Noconcatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD * &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RESIDENT class_sub where COUNTER &amp;gt;1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;drop table class_sub;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606821#M684408</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-02-04T19:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606822#M684409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is wrong:&lt;/P&gt;&lt;P&gt;COUNT(DISTINCT AX_PO_NUM)&amp;gt;1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606822#M684409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T19:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606823#M684410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to re-write this statement (from Access SQL) into QV:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT sourcingclass_1.[AX PO#], sourcingclass_1.AX_Class, "Multiple_classes" AS Class_dup&lt;/P&gt;&lt;P&gt;FROM sourcingclass_1&lt;/P&gt;&lt;P&gt;WHERE (((sourcingclass_1.[AX PO#]) In (SELECT [AX PO#] FROM [sourcingclass_1] As Tmp GROUP BY [AX PO#] HAVING Count(*)&amp;gt;1 )))&lt;/P&gt;&lt;P&gt;ORDER BY sourcingclass_1.[AX PO#];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has not been easy.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606823#M684410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T19:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606824#M684411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then why don't you use an appropriate ODBC Access that will allow you to use you SQL statement in a QV load statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606824#M684411</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-02-04T19:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606825#M684412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is loading from a resident table created in QlikView.&amp;nbsp; Here's the entire bit of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sourcingclass_1:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT tbl_sourcing.AX_PO_NUM AS AX_PO_NUM, &lt;/P&gt;&lt;P&gt;&amp;nbsp; tbl_sourcing.AX_CLASS AS AX_CLASS&lt;/P&gt;&lt;P&gt;RESIDENT tbl_sourcing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class_sub:&lt;/P&gt;&lt;P&gt;LOAD COUNT(DISTINCT AX_PO_NUM)&amp;gt;1;&lt;/P&gt;&lt;P&gt;LOAD 1 AS ROWCOUNT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AX_PO_NUM,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AX_CLASS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MULTIPLE CLASSES' AS CLASS_DUP&lt;/P&gt;&lt;P&gt;RESIDENT sourcingclass_1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606825#M684412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T19:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606826#M684413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class_sub:&lt;BR /&gt;LOAD &lt;BR /&gt; 1 AS ROWCOUNT,&lt;BR /&gt;&amp;nbsp; AX_PO_NUM,&lt;BR /&gt; AX_CLASS,&lt;BR /&gt; 'MULTIPLE CLASSES' AS CLASS_DUP&lt;BR /&gt;RESIDENT sourcingclass_1; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;BR /&gt;LOAD&lt;BR /&gt; AX_PO_NUM,&lt;BR /&gt; AX_CLASS,&lt;BR /&gt; CLASS_DUP&lt;BR /&gt;&lt;STRONG&gt; COUNT(DISTINCT AX_PO_NUM) as TempKey&lt;/STRONG&gt;&lt;BR /&gt;RESIDENT class_sub&lt;BR /&gt;&lt;STRONG&gt;GROUP BY AX_PO_NUM, AX_CLASS, CLASS_DUP;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INNER JOIN&lt;/STRONG&gt; (class_sub) LOAD&lt;BR /&gt; AX_PO_NUM,&lt;BR /&gt; AX_CLASS,&lt;BR /&gt; CLASS_DUP &lt;BR /&gt;RESIDENT tmp&lt;BR /&gt;&lt;STRONG&gt;WHERE TempKey&amp;gt;1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE tmp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606826#M684413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T19:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606827#M684414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this code Michael.&amp;nbsp; I am trying to wrap my brain around it.&amp;nbsp; One thing I have noticed from the result set is that I am not getting a 1 for each record in rowcount. Any idea why that is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 20:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606827#M684414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T20:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606828#M684415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't tell...&amp;nbsp; Maybe there is something outside this part.&amp;nbsp; I hope you'll find out and tell us. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 20:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606828#M684415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-04T20:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Preceding Load not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606829#M684416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well through a lot of different trials and errors, I finally got the result that I was looking for.&amp;nbsp; This is the code that worked for me.&amp;nbsp; (Oddly enough, now Order By doesn't work like I would like for it to, but this is a minor inconvenience)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sourcingclass_1:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT tbl_sourcing.AX_PO_NUM AS AX_PO_NUM, &lt;/P&gt;&lt;P&gt;&amp;nbsp; tbl_sourcing.AX_CLASS AS AX_CLASS&lt;/P&gt;&lt;P&gt;RESIDENT tbl_sourcing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp_a:&lt;/P&gt;&lt;P&gt;LOAD AX_PO_NUM,&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUNT(AX_PO_NUM) AS TempKey&lt;/P&gt;&lt;P&gt;RESIDENT sourcingclass_1&lt;/P&gt;&lt;P&gt;GROUP BY AX_PO_NUM;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp_b:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; AX_PO_NUM AS DUP_AX_PO_NUM&lt;/P&gt;&lt;P&gt;RESIDENT tmp_a&lt;/P&gt;&lt;P&gt;where TempKey &amp;gt; 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLES tmp_a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp_c:&lt;/P&gt;&lt;P&gt;LOAD DUP_AX_PO_NUM AS PO_NUMBER&lt;/P&gt;&lt;P&gt;RESIDENT tmp_b&lt;/P&gt;&lt;P&gt;ORDER BY DUP_AX_PO_NUM;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN(tmp_c)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; AX_PO_NUM AS PO_NUMBER,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AX_CLASS AS CLASS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MULTIPLE CLASS' AS CLASS_DUP&lt;/P&gt;&lt;P&gt;RESIDENT sourcingclass_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE tmp_b, sourcingclass_1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 16:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preceding-Load-not-working-properly/m-p/606829#M684416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T16:19:30Z</dc:date>
    </item>
  </channel>
</rss>

