<?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: Using variable in Where statement in load script... in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-variable-in-Where-statement-in-load-script/m-p/1145328#M20424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I think you where clause is not at the right spot, try this by putting it below the (ooxml ....) part:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Interview Finish Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[lib://Apps/All Surveys for 16MY CQI Qlik Sense.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is GridExport)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Where [Interview Finish Date] &amp;lt;= $(MaxIFDate);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 20:50:47 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-13T20:50:47Z</dc:date>
    <item>
      <title>Using variable in Where statement in load script...</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variable-in-Where-statement-in-load-script/m-p/1145327#M20423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following error occurred:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;Unknown Error&lt;/P&gt;&lt;P class="headline edc_error" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;The error occurred here:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;LOAD&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Interview Finish Date]&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;FROM [lib://Apps/All Surveys for 16MY CQI Qlik Sense.xlsx]&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;Where [Interview Finish Date]&amp;lt;=42501&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;(ooxml, embedded labels, table is GridExport)&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;Data has not been loaded. Please correct the error and try loading again.&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;I can't seem to get this to work:&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;Where [Interview Finish Date]&amp;lt;=$(MaxIFDate)&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;It gives me this in the error note:&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;Where [Interview Finish Date]&amp;lt;=42501&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;For whatever reason, the script is failing and I believe it to be related to the format of the [Interview Finish Date] column, as it is saved in a General format in the xlsx file. Can someone help me figure out the breakdown in syntax/format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="headline undefined" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;Thanks in advance!&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 20:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variable-in-Where-statement-in-load-script/m-p/1145327#M20423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-13T20:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable in Where statement in load script...</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variable-in-Where-statement-in-load-script/m-p/1145328#M20424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I think you where clause is not at the right spot, try this by putting it below the (ooxml ....) part:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Interview Finish Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[lib://Apps/All Surveys for 16MY CQI Qlik Sense.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is GridExport)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Where [Interview Finish Date] &amp;lt;= $(MaxIFDate);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 20:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variable-in-Where-statement-in-load-script/m-p/1145328#M20424</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-13T20:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable in Where statement in load script...</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variable-in-Where-statement-in-load-script/m-p/1145329#M20425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that fixed it! Thanks for helping!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 13:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variable-in-Where-statement-in-load-script/m-p/1145329#M20425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-16T13:39:51Z</dc:date>
    </item>
  </channel>
</rss>

