<?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 Incremental Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load/m-p/1185955#M885551</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;I am trying to do a increment load based on date but it is not working could you kindly help me or point where i am wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable &lt;/P&gt;&lt;P&gt;let vStartdate = date(today()-5,'YYYYMMDD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the QVD file i have a field OpDate in the format DD/MM/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my condition is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select X, Y, Z&lt;/P&gt;&lt;P&gt;FROM dbo.ABC&lt;/P&gt;&lt;P&gt;WHERE OpDate between '$(vStartdate)'&amp;nbsp; and '$(vprvdayop)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt; (qvd)&lt;/F&gt;&lt;/P&gt;&lt;P&gt;Where Date(OpDate, 'YYYYMMDD') &amp;lt; $(vStartdate);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load/m-p/1185955#M885551</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;I am trying to do a increment load based on date but it is not working could you kindly help me or point where i am wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable &lt;/P&gt;&lt;P&gt;let vStartdate = date(today()-5,'YYYYMMDD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the QVD file i have a field OpDate in the format DD/MM/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my condition is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select X, Y, Z&lt;/P&gt;&lt;P&gt;FROM dbo.ABC&lt;/P&gt;&lt;P&gt;WHERE OpDate between '$(vStartdate)'&amp;nbsp; and '$(vprvdayop)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt; (qvd)&lt;/F&gt;&lt;/P&gt;&lt;P&gt;Where Date(OpDate, 'YYYYMMDD') &amp;lt; $(vStartdate);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load/m-p/1185955#M885551</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load/m-p/1185956#M885552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vStartdate = date(today()-5,'DD/MM/YYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select X, Y, Z&lt;/P&gt;&lt;P&gt;FROM dbo.ABC&lt;/P&gt;&lt;P&gt;WHERE OpDate between '$(vStartdate)'&amp;nbsp; and '$(vprvdayop)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate (Table)&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt; (qvd)&lt;/F&gt;&lt;/P&gt;&lt;P&gt;Where OpDate &amp;lt; $(vStartdate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 16:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load/m-p/1185956#M885552</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-09-15T16:36:47Z</dc:date>
    </item>
  </channel>
</rss>

