<?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 Remove data in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323454#M1189297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;I'm new to qlikview and I would like help with a problem I have encountered. In my script I’m loading data from a single textfile with orderlines that are delivered on acertain date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;The textfile contains data like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;EM style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;Deliveries:&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Material number]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Material description]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Order no]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;Item&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Order no]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;Item&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;ItemID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt; [GR date]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #646464; font-size: 9pt; font-family: 'Courier New';"&gt;$(vPathQvdRaw)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;\Data\Deliveries.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;codepage&lt;/SPAN&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;1252&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;delimiter&lt;/SPAN&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;'\t'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;The ItemID is a unique number for each orderline. But then one ItemID can be delivered on different occasions.&lt;SPAN style="text-decoration: underline;"&gt; I only want to keep the ItemID with the latest [GR date].&lt;/SPAN&gt; For this I usually sort my data in excel so that I have ItemID ascending and the latest [GR date] on the top row and then all the other data below. Then I check if the ItemID on one row is the same as the previous one and if it is I mark this line with an x. Then I just delete all the rows marked with an x.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;How can I do this in qlikview? &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Would very much appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Martin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2011 05:37:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-02T05:37:49Z</dc:date>
    <item>
      <title>Remove data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323454#M1189297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;I'm new to qlikview and I would like help with a problem I have encountered. In my script I’m loading data from a single textfile with orderlines that are delivered on acertain date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;The textfile contains data like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;EM style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;Deliveries:&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Material number]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Material description]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Order no]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;Item&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;[Order no]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;Item&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;ItemID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt; [GR date]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #646464; font-size: 9pt; font-family: 'Courier New';"&gt;$(vPathQvdRaw)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;\Data\Deliveries.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;codepage&lt;/SPAN&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;1252&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;delimiter&lt;/SPAN&gt; &lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;'\t'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;The ItemID is a unique number for each orderline. But then one ItemID can be delivered on different occasions.&lt;SPAN style="text-decoration: underline;"&gt; I only want to keep the ItemID with the latest [GR date].&lt;/SPAN&gt; For this I usually sort my data in excel so that I have ItemID ascending and the latest [GR date] on the top row and then all the other data below. Then I check if the ItemID on one row is the same as the previous one and if it is I mark this line with an x. Then I just delete all the rows marked with an x.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;How can I do this in qlikview? &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Would very much appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Martin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 05:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323454#M1189297</guid>
      <dc:creator />
      <dc:date>2011-08-02T05:37:49Z</dc:date>
    </item>
    <item>
      <title>Remove data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323455#M1189298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; [Material number], &lt;BR /&gt; [Material description], &lt;BR /&gt; [Order no], &lt;BR /&gt; Item, &lt;BR /&gt; ([Order no]&amp;amp;Item) as ItemID,&lt;BR /&gt; [GR date] &lt;BR /&gt;FROM&lt;BR /&gt;$(vPathQvdRaw)\Data\Deliveries.txt&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t'); &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; ([Order no]&amp;amp;Item) as ItemID,&lt;BR /&gt; mAX([GR date]) AS [Max GR Date]&lt;BR /&gt;FROM&lt;BR /&gt;$(vPathQvdRaw)\Data\Deliveries.txt&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t')&lt;BR /&gt;Group By [Order no]&amp;amp;Item; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now, Take the [Max GR Date] field instead of [GR Date] in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, if you want to keep only the Max Values to exist than Use Right Join Instead of Left Join.&lt;/P&gt;&lt;P&gt;&lt;/P&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;Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 05:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323455#M1189298</guid>
      <dc:creator>rahulgupta</dc:creator>
      <dc:date>2011-08-02T05:54:54Z</dc:date>
    </item>
    <item>
      <title>Remove data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323456#M1189299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for that very fast answer. Why do I get 'Field not found' when I'm trying to use the Max GR Date to transformit into a datekey (which I use in a calender)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 06:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323456#M1189299</guid>
      <dc:creator />
      <dc:date>2011-08-02T06:41:03Z</dc:date>
    </item>
    <item>
      <title>Remove data in script</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323457#M1189300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help above. When the script loads the data, the number of orderlines that are extracted is correct. What I now want to do is to only keep the rows that are defined and scrapt all the other ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 12:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-data-in-script/m-p/323457#M1189300</guid>
      <dc:creator />
      <dc:date>2011-09-13T12:06:25Z</dc:date>
    </item>
  </channel>
</rss>

