<?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: Incremental load by using qvd date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222090#M623718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer attached script as well as zip file. This will solve the purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 17:09:20 GMT</pubDate>
    <dc:creator>rahulpawarb</dc:creator>
    <dc:date>2017-01-13T17:09:20Z</dc:date>
    <item>
      <title>Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222078#M623706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one requirement like system has to do incremental process based on date in particular qvd&lt;/P&gt;&lt;P&gt;For Example. I have source file like&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Name&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Date&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31/01/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/02/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;24/02/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/03/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15/03/2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirements:&lt;/P&gt;&lt;P&gt;1) Store the month wise data into particular month qvd like jan data into X_012016.qvd, Feb data into X_022016 and so on.&lt;/P&gt;&lt;P&gt;2) Now i need to write one for loop like system has to check the dates in oldest qvd first( in our case Jan month qvd) and then it should do incremental process( Insert or update) from DB and jan qvd should contains updated jan data. and it has to check for all qvd and hs to update data for all month qvds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly do the needful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 09:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222078#M623706</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-10T09:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222079#M623707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are well there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer below given sample script to solve your concern (you need to alter it as per your need).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;DateList:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;SQL SELECT DISTINCT CONCAT(LEFT(RIGHT(Date,7),2), RIGHT(Date,4)) AS MonthYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FROM &amp;lt;tablename&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ORDER BY CONCAT(LEFT(RIGHT(Date,7),2), RIGHT(Date,4));&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FOR i=0 TO NoOfRows('DateList')-1 &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LET vMonthYear = PEEK('MonthYear', $(i), 'DateList'); &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LET vQVDPath = 'Qvd\'; // Set QVD Storage Directory&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LET vExecTime = UTC();&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;SET vLastExecTime = 0; // Resetting vLastExecTime&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;// As long as a QVD already exists, find the latest timestamp for modified records. &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;//This will be used to generate the delta set.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;if not isnull(QVDCreateTime('$(vQVDPath)X_$(vMonthYear).qvd'))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;then&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LoadTime:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Load Max(LastModifiledDate) as LastModifiedDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;From $(vQVDPath)X_$(vMonthYear).qvd(qvd);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LET vLastExecTime = Peek('LastModifiedDate',0,'LoadTime');&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Drop Table LoadTime;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;end if&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;lt;tablename&amp;gt;:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;SQL SELECT Id,&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FROM &amp;lt;tablename&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;WHERE LastModifiedDate &amp;gt;= $(vLastExecTime)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;AND LastModifiedDate &amp;lt;= $(vExecTime);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;// Check to see if this is the first reload. if it is, skip this step&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;if not isnull(QVDCreateTime('$(vQVDPath)X_$(vMonthYear).qvd'))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;then&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Concatenate(&amp;lt;tablename&amp;gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD *&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FROM $(vQVDPath)X_$(vMonthYear).qvd(qvd)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;WHERE Not Exists(Id);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;end if&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;// If data exists within table, store to QVD.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;if NoOfRows('&amp;lt;tablename&amp;gt;') &amp;gt; 0&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;then&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;STORE &amp;lt;tablename&amp;gt; INTO $(vQVDPath)X_$(vMonthYear).qvd;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Drop Table &amp;lt;tablename&amp;gt;;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;end if&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Next&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Drop Table DateList;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 12:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222079#M623707</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-12T12:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222080#M623708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;I am good.Thank you... Hope you are well&lt;/P&gt;&lt;P&gt;Thanks for the reply..&lt;/P&gt;&lt;P&gt;I think this script will work but it is throwing error for '&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;DISTINCT CONCAT(LEFT(RIGHT(Date,7),2), RIGHT(Date,4)) AS MonthYear&lt;/EM&gt;&lt;/STRONG&gt;' this condition&lt;/P&gt;&lt;P&gt;I am loading data from excel sheet.. i think order by function desnt work.&lt;/P&gt;&lt;P&gt;Could you please do the needful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dada Khalander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 04:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222080#M623708</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-13T04:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222081#M623709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for asking. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have wrote the load load statement by considering RDBMS table (Concat syntax may vary from one RDBMS to another.Also Order By...). However, you can use LEFT(RIGHT("sales date",7),2) &amp;amp; RIGHT("sales date",4) AS MonthYear in your script and try... To Order the set you you can use resident load and do the ordering of MonthYear field (Just a thought).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 04:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222081#M623709</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-13T04:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222082#M623710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qvd's creating month wise but entire data is storing in all QVD's instead of storing month wise data in particular month.&lt;/P&gt;&lt;P&gt;Data should store in qvd like jan month data in X_201601.qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 05:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222082#M623710</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-13T05:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222083#M623711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please change the filter condition as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Original:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;lt;tablename&amp;gt;:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SQL SELECT Id,&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;FROM &amp;lt;tablename&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;WHERE LastModifiedDate &amp;gt;= $(vLastExecTime)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;AND LastModifiedDate &amp;lt;= $(vExecTime);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Modified:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;lt;tablename&amp;gt;:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SQL SELECT Id,&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;FROM &amp;lt;tablename&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;WHERE &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LEFT(RIGHT(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LastModifiedDate&lt;/EM&gt;&lt;/STRONG&gt;,7),2) &amp;amp; RIGHT(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LastModifiedDate&lt;/EM&gt;&lt;/STRONG&gt;,4)&lt;/SPAN&gt; = &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;$(vMonthYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 06:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222083#M623711</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-13T06:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222084#M623712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is throwing the error like field not found&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 06:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222084#M623712</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-13T06:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222085#M623713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please send the script in file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222085#M623713</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-13T08:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222086#M623714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to disturb you..&lt;/P&gt;&lt;P&gt;PFA for script and dummy source data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222086#M623714</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-13T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222087#M623715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To further analyze, could you please share the sample application along with sample source data file, If possible.&lt;/P&gt;&lt;P&gt;This will help me to provide you error free solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 09:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222087#M623715</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-13T09:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222088#M623716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA for sample data.&lt;/P&gt;&lt;P&gt;I am using same data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 09:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222088#M623716</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-13T09:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222089#M623717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, maybe this will be heplfull, read &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/650953-136192/Incremental Load.docx" title="https://community.qlik.com/servlet/JiveServlet/download/650953-136192/Incremental%20Load.docx"&gt;https://community.qlik.com/servlet/JiveServlet/download/650953-136192/Incremental%20Load.docx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222089#M623717</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-01-13T12:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222090#M623718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer attached script as well as zip file. This will solve the purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 17:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222090#M623718</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-13T17:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222091#M623719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attachment is missing.. can you attach the files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 04:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222091#M623719</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-16T04:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222092#M623720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could see the attachments. However, I have re-attached it herewith.&lt;/P&gt;&lt;P&gt;Also, refer below given modified script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14845410418284996" jivemacro_uid="_14845410418284996" modifiedtitle="true"&gt;
&lt;P&gt;DateListTemp:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Distinct LEFT(RIGHT(Date([Transaction date],'DD/MM/YYYY'),7),2)&amp;amp; RIGHT(Date([Transaction date],'DD/MM/YYYY'),4) AS MonthYear&lt;/P&gt;
&lt;P&gt;FROM [Copy of incree load data.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&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;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DateList:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; MonthYear&lt;/P&gt;
&lt;P&gt;Resident DateListTemp&lt;/P&gt;
&lt;P&gt;ORDER BY 1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table DateListTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; //EXIT SCRIPT;&lt;/P&gt;
&lt;P&gt;FOR i=0 TO NoOfRows('DateList')-1&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vMonthYear = PEEK('MonthYear', $(i), 'DateList'); &lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vQVDPath = 'QVDs\'; // Set QVD Storage Directory&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Sales:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; product, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sales, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Transaction date]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM [Copy of incree load data.xlsx]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Where LEFT(RIGHT(Date([Transaction date],'DD/MM/YYYY'),7),2)&amp;amp; RIGHT(Date([Transaction date],'DD/MM/YYYY'),4) = $(vMonthYear);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // Check to see if this is the first reload. if it is, skip this step&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if not isnull(QVDCreateTime('$(vQVDPath)Sales_$(vMonthYear).qvd')) THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate(Sales)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD *&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM $(vQVDPath)Sales_$(vMonthYear).qvd(qvd)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE Not Exists(id);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; end if&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // If data exists within table, store to QVD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if NoOfRows('Sales') &amp;gt; 0 THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE Sales INTO $(vQVDPath)Sales_$(vMonthYear).qvd;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drop Table Sales;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; end if&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table DateList;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 04:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222092#M623720</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-16T04:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222093#M623721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script is perfect to my requirement. Only thing is all values are loading from sources while doing incremental load for particular month. i have inserted new record for second load instead of loading only new record but it is loading all values. But it is really helpful and perfect script..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 04:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222093#M623721</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-16T04:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222094#M623722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to mark it as correct answer.. Can you help me how to do that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 04:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222094#M623722</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-01-16T04:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load by using qvd date</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222095#M623723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rahul,&lt;/P&gt;&lt;P&gt;Would you please check my question and let me know your suggestion:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1280987"&gt;Incremental Loading on monthly Partitioned QVDs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-by-using-qvd-date/m-p/1222095#M623723</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-05T04:04:49Z</dc:date>
    </item>
  </channel>
</rss>

