<?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 for salesforce in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580167#M215589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the data of LastModifiedDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57423_Untitled.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 10:01:01 GMT</pubDate>
    <dc:creator>nirav_bhimani</dc:creator>
    <dc:date>2014-04-16T10:01:01Z</dc:date>
    <item>
      <title>Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580162#M215584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried following incremental script but when m taking data from data source and checking with last modified date getting script error&amp;nbsp; as field 'LastModifiedDate' must be of type dateTime. So what kind of function should i use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//------------------------------------------script---------------------------------------------------------------//&lt;/P&gt;&lt;P&gt;if isnull(QvdCreateTime('..\QVDS\$(vQVDName).qvd')) then&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vQVDName):&lt;/P&gt;&lt;P&gt;&amp;nbsp; Select * from $(vTableName);&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store $(vQVDName) into ../Qvds/$(vQVDName).qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop table $(vQVDName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TEMP:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp(MAX(LastModifiedDate),'MM/DD/YYYY hh:mm:ss TT') as LAST_UPDATE_DATE&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;..\Qvds\$(vQVDName).qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vLastUpdateDate = Timestamp(peek('LAST_UPDATE_DATE',0,'TEMP'),'MM/DD/YYYY hh:mm:ss TT');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop table TEMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vQVDName):&lt;/P&gt;&lt;P&gt;// here m getting script error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; Sql Select * from $(vTableName) where LastModifiedDate &amp;gt;= '$(vLastUpdateDate)';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if NoOfRows('$(vQVDName)') &amp;gt; 0 then&lt;/P&gt;&lt;P&gt;&amp;nbsp; Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; ..\Qvds\$(vQVDName).qvd&lt;/P&gt;&lt;P&gt;&amp;nbsp; (qvd)where not Exists(Id);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Inner join&lt;/P&gt;&lt;P&gt;&amp;nbsp; Select Id from&amp;nbsp; $(vTableName);&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store $(vQVDName) into ../QVDS/$(vQVDName).qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop table $(vQVDName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;//--------------------------------script end-------------------------------------------//&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;script error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Registered_Company_Name__c from Account where LastModifiedDate &amp;gt;= '04/07/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;&lt;P&gt;ERROR at Row:1:Column:1782&lt;/P&gt;&lt;P&gt;value of filter criterion for field 'LastModifiedDate' must be of type dateTime and should not be enclosed in quotes&lt;/P&gt;&lt;P&gt;Account:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sql Select * from Account where LastModifiedDate &amp;gt;= '04/07/2014&amp;nbsp; 2:24:38 PM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me to resolve this issue&lt;/P&gt;&lt;P&gt;thanks in advanced&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 13:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580162#M215584</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2014-04-15T13:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580163#M215585</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;Can you please look into above script for any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 05:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580163#M215585</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2014-04-16T05:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580164#M215586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nirav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;Sql Select * from Account where to_date(LastModifiedDate,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;MM/DD/YYYY hh:mm:&lt;/SPAN&gt;ss') &amp;gt;= $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;vLastUpdateDate&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it doesn't work, please send me the data that stored in the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;LastModifiedDate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 05:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580164#M215586</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2014-04-16T05:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580165#M215587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response, I have tried with to_date function also but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 05:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580165#M215587</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2014-04-16T05:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580166#M215588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you send me the data of this field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;LastModifiedDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;from table....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 06:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580166#M215588</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2014-04-16T06:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580167#M215589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the data of LastModifiedDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57423_Untitled.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580167#M215589</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2014-04-16T10:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580168#M215590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this thread is rather old, but I had the same problems as Nirav.&amp;nbsp; I managed to fix it this end by altering the format the vLastUpdateDate is in to the below (Refering to the original example code - my solution uses a different method of incremental load but had the same error as above around the dates):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TEMP:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Timestamp(MAX(LastModifiedDate),'MM/DD/YYYY hh:mm:ss TT') as LAST_UPDATE_DATE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FROM&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;..\Qvds\$(vQVDName).qvd&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Let vLastUpdateDate = Timestamp(peek('LAST_UPDATE_DATE',0,'TEMP'),&lt;STRONG style="text-decoration: underline;"&gt;'YYYY-MM-DD hh:mm:ss'&lt;/STRONG&gt;);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Drop table TEMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; $(vQVDName):&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps someone who stumbles across this!&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cheers,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580168#M215590</guid>
      <dc:creator />
      <dc:date>2014-12-16T12:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load for salesforce</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580169#M215591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Phil.&amp;nbsp; I'm glad I stumbled upon this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to load in SF data recently and this kept cropping up.&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I was only looking to do a PoC at the time, so I just converted it to perform a full reload each time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect we'll take the PoC further so I'll definitely reuse the code you've provide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Michael &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-for-salesforce/m-p/580169#M215591</guid>
      <dc:creator>mikkeltaylor</dc:creator>
      <dc:date>2014-12-16T12:44:38Z</dc:date>
    </item>
  </channel>
</rss>

