<?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: Import New Dates Only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347582#M128619</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * FROM File1...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMaxDate = Peek('ReportDate');&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDIT: Assumes File 1 was in date order (ascending).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM File2...&lt;/P&gt;&lt;P&gt;WHERE ReportDate &amp;gt; $(vMaxDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set vMaxDate to whatever date you want of course.&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;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jason Michaelides&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2012 21:37:49 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-04-11T21:37:49Z</dc:date>
    <item>
      <title>Import New Dates Only</title>
      <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347581#M128618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;I have a question regarding importing new dates only between 2 source files (File1, File2).&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;I've already loaded one file (File1), now I received another file (File2), but would like to load New Dates only when I reload.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;File1: consists of date range 1/12012 to 4/4/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;File2: consists of date range 4/1/2012 to 4/10/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Question: Is there a way to use ReportDate column within these files to import only 4/5-4/10 (new dates only)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Basically incremental load File2, but only load new dates, so ignore 4/1-4/4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Additonal Question: What if I want to reload with a specific date, such as since 4/1/2012?&amp;nbsp; Is there a way to specify in edit script load since this specific date?&amp;nbsp; Is there a command?&amp;nbsp; or variable is preferred?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Is there sample edit script command to be used for the two questions, I would really appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Sincerely.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 21:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347581#M128618</guid>
      <dc:creator />
      <dc:date>2012-04-11T21:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import New Dates Only</title>
      <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347582#M128619</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * FROM File1...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMaxDate = Peek('ReportDate');&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDIT: Assumes File 1 was in date order (ascending).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM File2...&lt;/P&gt;&lt;P&gt;WHERE ReportDate &amp;gt; $(vMaxDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set vMaxDate to whatever date you want of course.&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;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jason Michaelides&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 21:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347582#M128619</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-11T21:37:49Z</dc:date>
    </item>
    <item>
      <title>Import New Dates Only</title>
      <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347583#M128620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Assuming that your code will reload both File1 and File2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Is there a way NOT have to reload File1?&amp;nbsp; The dashboard already shows all data for File1, and File1 consists of all historic data in 2011, so very large and time consuming.&amp;nbsp; Is there a command to just load File2?&amp;nbsp; Going forward, I would receive additiona much smallerl incremental files, so any files and dates that's already loaded would be preferred not have to be reloaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, I will specific the variable vMaxDate, so no dups will be loaded from new files (in this case File2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 21:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347583#M128620</guid>
      <dc:creator />
      <dc:date>2012-04-11T21:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import New Dates Only</title>
      <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347584#M128621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use a QVD file as this will load very quickly.&lt;/P&gt;&lt;P&gt;2. Use a partial reload to only load File2&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;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 22:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347584#M128621</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-11T22:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Import New Dates Only</title>
      <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347585#M128622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does option 2 partial reload syntax look like?&lt;/P&gt;&lt;P&gt;Looks like option 2 will skip File1 and load new data only, which seems like the most efficient method.&lt;/P&gt;&lt;P&gt;BTW, how does the code ignore re-loading File1?&amp;nbsp; Or does it have to scan the file no matter what for new dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 22:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347585#M128622</guid>
      <dc:creator />
      <dc:date>2012-04-11T22:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import New Dates Only</title>
      <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347586#M128623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's been a while since I've used Partial Reload.&amp;nbsp; Start with the F1 help and search on this forum - loads of examples of how to use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 23:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347586#M128623</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-11T23:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Import New Dates Only</title>
      <link>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347587#M128624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just as an aside - if you do go down the partial reload route then of course File2 will be completely reloaded every time and it will be increasing in size every day.&amp;nbsp; I'd consider going down a classic incremental load route using QVDs as these will load faster than whatever your File1 and File2 sources are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 23:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-New-Dates-Only/m-p/347587#M128624</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-11T23:37:24Z</dc:date>
    </item>
  </channel>
</rss>

