<?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: Compare dates in WHERE clause while loading data from EXCEL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-WHERE-clause-while-loading-data-from-EXCEL/m-p/774793#M1038651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try adding quotes around variables&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;WHERE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TRN_DATE &amp;gt; '$(vBeginningLastExecution)' and&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TRN_DATE &amp;lt;= '$(vBeginningNewExecution)';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2014 13:46:48 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-12-22T13:46:48Z</dc:date>
    <item>
      <title>Compare dates in WHERE clause while loading data from EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-WHERE-clause-while-loading-data-from-EXCEL/m-p/774792#M1038650</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;I have an error in WHERE clause - when it's commented it works fine. I probably use incorrect date format while comparing these fields. TRN_DATE in xls is stored as e.g. 2014-12-23&amp;nbsp; 14:50:00 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vBeginningLastExecution = '2014-12-22&amp;nbsp; 13:00:00';&lt;/P&gt;&lt;P&gt;let vBeginningNewExecution = now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD TRN_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRN_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOCATION_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUSTOMER_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRN_VALUE&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[2 Update with Timestamp\incremental-TStamp-DB-baza2.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Transactions)&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;TRN_DATE &amp;gt; $(vBeginningLastExecution) and&lt;/P&gt;&lt;P&gt;TRN_DATE &amp;lt;= $(vBeginningNewExecution);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I miss some timestamp# function or sth else?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" height="258" src="https://community.qlik.com/legacyfs/online/74028_pastedImage_3.png" style="width: 472px; height: 258.077419354839px;" width="472" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74027_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 13:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-WHERE-clause-while-loading-data-from-EXCEL/m-p/774792#M1038650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T13:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in WHERE clause while loading data from EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-WHERE-clause-while-loading-data-from-EXCEL/m-p/774793#M1038651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try adding quotes around variables&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;WHERE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TRN_DATE &amp;gt; '$(vBeginningLastExecution)' and&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TRN_DATE &amp;lt;= '$(vBeginningNewExecution)';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 13:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-WHERE-clause-while-loading-data-from-EXCEL/m-p/774793#M1038651</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-22T13:46:48Z</dc:date>
    </item>
  </channel>
</rss>

