<?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 overlapping records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186846#M50768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Other method is also to write out to a QVD the max record (e.g. max(KeyField)) from the original load, then in the 2nd load, load this value into a variable (e.g. vLastLoadedRec) and restrict the load with a where clause such as where KeyField &amp;gt; $(vLastLoadedRec).&lt;/P&gt;&lt;P&gt;Renaud's technique is also BP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2011 13:02:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-29T13:02:28Z</dc:date>
    <item>
      <title>overlapping records</title>
      <link>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186843#M50765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have some files with data from different periods and I have to load them into 1 QVW.&lt;/P&gt;&lt;P&gt;My problem is that there is some overlapping data in my files (the last records of the previous file are the same of the first records of the next file).&lt;/P&gt;&lt;P&gt;Now i need to find a method to not load these records again and prevent getting double data in my QVW.&lt;/P&gt;&lt;P&gt;The best thing would be to have only one load statement, because all my files have the same name, but with a different timestamp at the end of the filename, so i can load from filename*.csv&lt;/P&gt;&lt;P&gt;Because in the future there will be more files added, and when i use the wildcard in the filename I wouldn't have to edit my script all the time.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 12:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186843#M50765</guid>
      <dc:creator />
      <dc:date>2011-03-29T12:22:33Z</dc:date>
    </item>
    <item>
      <title>overlapping records</title>
      <link>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186844#M50766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try with DISTINCT load OR an NOT Exists() in the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 12:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186844#M50766</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2011-03-29T12:56:04Z</dc:date>
    </item>
    <item>
      <title>overlapping records</title>
      <link>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186845#M50767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Hi,&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;If you have a KeyField you can try something like that :&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;for each File in filelist ('*.csv')&lt;BR /&gt;&lt;BR /&gt; LOAD *&lt;BR /&gt; FROM $(File)&lt;BR /&gt; (txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;BR /&gt; WHERE NOT EXISTS(KeyField);&lt;BR /&gt;&lt;BR /&gt;next&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 12:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186845#M50767</guid>
      <dc:creator />
      <dc:date>2011-03-29T12:57:59Z</dc:date>
    </item>
    <item>
      <title>overlapping records</title>
      <link>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186846#M50768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Other method is also to write out to a QVD the max record (e.g. max(KeyField)) from the original load, then in the 2nd load, load this value into a variable (e.g. vLastLoadedRec) and restrict the load with a where clause such as where KeyField &amp;gt; $(vLastLoadedRec).&lt;/P&gt;&lt;P&gt;Renaud's technique is also BP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 13:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186846#M50768</guid>
      <dc:creator />
      <dc:date>2011-03-29T13:02:28Z</dc:date>
    </item>
    <item>
      <title>overlapping records</title>
      <link>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186847#M50769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, a LOAD DISTINCT would surely be the best way to handle this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 13:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/overlapping-records/m-p/186847#M50769</guid>
      <dc:creator />
      <dc:date>2011-03-29T13:10:16Z</dc:date>
    </item>
  </channel>
</rss>

