<?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: Need Load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572778#M213381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you close the thread by selecting correct/helpful answer?&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Mar 2014 11:58:31 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-03-29T11:58:31Z</dc:date>
    <item>
      <title>Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572772#M213375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings for the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load data as follows. Please let me know the LOAD script.&amp;nbsp; Please find the sample data below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOGIC :-&lt;/P&gt;&lt;P&gt;I want records, group by PART NO, ORDER NO and CUST NO and I should remove records where LATEST_ETD is equal to&amp;nbsp; "99999999" if that LATEST_ETD is first records for that group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EG :- FOR PART NO (12345), ORDER NO(A), CUST NO(ABC), first two LATEST_ETD records are "99999999". So i Want to eliminate this records. But FOR&amp;nbsp;&amp;nbsp; PART NO (6789), ORDER NO(B), CUST NO(DEF), "99999999" is not first records. So I don't want to eliminate this record.&amp;nbsp;&amp;nbsp; Here Order by depends on CRE_DT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally My output should be the records mentioned in RED Color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the solution. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAMPLE DATA :-&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample data.png" class="jive-image" src="/legacyfs/online/56096_Sample data.png" style="width: 620px; height: 348px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 08:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572772#M213375</guid>
      <dc:creator />
      <dc:date>2014-03-28T08:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572773#M213376</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;Check below code and you get your final result which is in red lines only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD PARTNO&amp;amp;'|'&amp;amp;ORDERNO&amp;amp;'|'&amp;amp;CUSTNO&amp;amp;'|'&amp;amp;LATEST_ETD as Key,PARTNO,ORDERNO,CUSTNO,LATEST_ETD,CRE_DT;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;PARTNO,ORDERNO,CUSTNO,LATEST_ETD,CRE_DT&lt;/P&gt;&lt;P&gt;12345, A, ABC, 99999999, 1/3/2014&lt;/P&gt;&lt;P&gt;12345, A, ABC, 99999999, 2/3/2014&lt;/P&gt;&lt;P&gt;12345, A, Anc, 1457395, 1213/2014&lt;/P&gt;&lt;P&gt;5739, H, DEF, 455937, 13/03/2014&lt;/P&gt;&lt;P&gt;5739, H, DEF, 99999999, 14/03/2014&lt;/P&gt;&lt;P&gt;5739, H, DEF, 54513513, 15/03/2014&lt;/P&gt;&lt;P&gt;9374, c, GHI, 99999999, 15/03/2014&lt;/P&gt;&lt;P&gt;9374, c, GHI, 99999999, 17/03/2014&lt;/P&gt;&lt;P&gt;9374, c, GHI, 545441131, 13/03/2014&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;Count(Key) as Ckey&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Group By Key;&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;T2:&lt;/P&gt;&lt;P&gt;LOAD PARTNO,ORDERNO,CUSTNO,LATEST_ETD,CRE_DT,Ckey&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Where Ckey =1;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 09:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572773#M213376</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-28T09:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572774#M213377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load *, PART_NO&amp;amp;ORDER_NO&amp;amp;CUST_NO as Key Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; PART_NO, ORDER_NO, CUST_NO, LATEST_ETD, CRE_DT&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12345, A, ABC, 99999999, 01/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12345, A, ABC, 99999999, 02/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12345, A, ABC, 1457896, 12/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 6789, B, DEF,&amp;nbsp; 456987, 13/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 6789, B, DEF, 99999999, 14/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 6789, B, DEF, 64613513, 15/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 9784, C, GHI, 99999999, 16/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 9784, C, GHI, 99999999, 17/03/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 9784, C, GHI, 546441131, 18/03/2014&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(LATEST_ETD, CRE_DT) as FIRSTETD&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Group By Key;&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;FINAL:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; PART_NO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ORDER_NO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CUST_NO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; LATEST_ETD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CRE_DT&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Where FIRSTETD &amp;amp; LATEST_ETD &amp;lt;&amp;gt; '9999999999999999'&lt;/P&gt;&lt;P&gt;Order By PART_NO,ORDER_NO,CUST_NO,CRE_DT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 09:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572774#M213377</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-28T09:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572775#M213378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind closing your thread&lt;A href="https://community.qlik.com/thread/111276"&gt;Need script&lt;/A&gt; before opening new threads for the same data.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 10:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572775#M213378</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-28T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572776#M213379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you...I got the solution...:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 11:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572776#M213379</guid>
      <dc:creator />
      <dc:date>2014-03-29T11:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572777#M213380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you...I got the solution...:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 11:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572777#M213380</guid>
      <dc:creator />
      <dc:date>2014-03-29T11:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572778#M213381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you close the thread by selecting correct/helpful answer?&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 11:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572778#M213381</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-29T11:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572779#M213382</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;If you got correct answer so mark this thread as a correct or Helpful so others can get the reference of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 12:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Load-script/m-p/572779#M213382</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-29T12:47:17Z</dc:date>
    </item>
  </channel>
</rss>

