<?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: Issue with Incremental Loading in the load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049753#M352563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using single quotes around the dollar expansion of the variable:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10.6667px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;select&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; * from guidelines.beacon_mg_attest where case_id in (select pyid from beacon.cases '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #808080; font-size: 8pt; font-family: inherit; font-weight: inherit;"&gt;&lt;EM&gt;$(INCREMENTAL_EXP)'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And make sure the variable &lt;EM&gt;last_reload&lt;/EM&gt; contains a string value in the date format MM/DD/YYYY &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2016 17:20:09 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-04-04T17:20:09Z</dc:date>
    <item>
      <title>Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049750#M352560</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 am creating a variable as shown -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;INCREMENTAL_EXP&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='where trunc(pxcreatedatetime)&amp;gt;=to_date('&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(last_reload)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1)&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)&amp;amp;',''MM/DD/YYYY'')&lt;BR /&gt; or trunc(pxupdatedatetime)&amp;gt;=to_date('&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(last_reload)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1)&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)&amp;amp;',''MM/DD/YYYY'')';&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debugger, I see, it is the date value and it doesn't show any error.&amp;nbsp; Then, I am trying to use this variable in my Oracle SQL query as shown below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;select&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * from guidelines.beacon_mg_attest where case_id in (select pyid from beacon.cases &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(INCREMENTAL_EXP)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, when $(INCREMENTAL_EXP) gets resolved, the date portion is blank.&amp;nbsp; Please help me to understand what I am missing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 15:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049750#M352560</guid>
      <dc:creator />
      <dc:date>2016-04-04T15:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049751#M352561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use 'SET' instead of 'LET'&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 16:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049751#M352561</guid>
      <dc:creator>fredericmante</dc:creator>
      <dc:date>2016-04-04T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049752#M352562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had tried that and it is not working.&amp;nbsp; If I use SET, the variable within the variable is not getting evaluated at run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 17:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049752#M352562</guid>
      <dc:creator />
      <dc:date>2016-04-04T17:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049753#M352563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using single quotes around the dollar expansion of the variable:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10.6667px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;select&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; * from guidelines.beacon_mg_attest where case_id in (select pyid from beacon.cases '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #808080; font-size: 8pt; font-family: inherit; font-weight: inherit;"&gt;&lt;EM&gt;$(INCREMENTAL_EXP)'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And make sure the variable &lt;EM&gt;last_reload&lt;/EM&gt; contains a string value in the date format MM/DD/YYYY &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 17:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049753#M352563</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-04T17:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049754#M352564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried that...still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I see at run time, when I used the quotes you had suggested -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;select * from guidelines.beacon_mg_attest where case_id in (select pyid from beacon.cases 'where trunc(pxcreatedatetime)&amp;gt;=to_date('''',''MM/DD/YYYY'')&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; or trunc(pxupdatedatetime)&amp;gt;=to_date('''',''MM/DD/YYYY'')')&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 17:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049754#M352564</guid>
      <dc:creator />
      <dc:date>2016-04-04T17:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049755#M352565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means the the variable last_reload is empty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 17:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049755#M352565</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-04T17:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049756#M352566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run in debug mode, I can see it is getting evaluated correctly in the variable INCREMENTAL_EXP but when trying to use the variable in the query, it does not.&amp;nbsp; Please have a look at the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 17:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049756#M352566</guid>
      <dc:creator />
      <dc:date>2016-04-04T17:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049757#M352567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fieldvalue function only works on fields, not variables. So fieldvalue($(last_variable), 1) will return nothing since there isn't a field with the name 42459.614351852 or 3/30/2016 2:44:40 PM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 17:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049757#M352567</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-04T17:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Incremental Loading in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049758#M352568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; Got it now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 18:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Incremental-Loading-in-the-load-script/m-p/1049758#M352568</guid>
      <dc:creator />
      <dc:date>2016-04-04T18:43:53Z</dc:date>
    </item>
  </channel>
</rss>

