<?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 Let command in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Let-command/m-p/350737#M705299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In order to prevent confusion i use a number to represent the date, in this case its 41001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2012 10:59:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-13T10:59:20Z</dc:date>
    <item>
      <title>Let command</title>
      <link>https://community.qlik.com/t5/QlikView/Let-command/m-p/350735#M705297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a qlikview script which has worked for years, but suddenly in the last two weeks it's stopped working. I have determined for some reason the script doesn't want to pick up the variable for the where field, and is coming back with "field not found". I am currently using Qlikview 10. Any idea's on how I can fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove the where clause it works fine, but off course my report is broken then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Latest_Stock_Date:&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;MAX([_Stock Date]) as [LatestDate]&lt;/P&gt;&lt;P&gt;RESIDENT Stock_Data2;&lt;/P&gt;&lt;P&gt;LET vQVDHistoryDate = fieldValue('LatestDate',1)-1;&lt;/P&gt;&lt;P&gt;// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;BR /&gt;//&lt;BR /&gt;// Load all (historic) data prior to the above date from the QVD file.&amp;nbsp; This goes into the Stocks_and_Orders table...&lt;BR /&gt;//&lt;BR /&gt;// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;/P&gt;&lt;P&gt;Stocks_and_Orders:&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;[Plant],&lt;BR /&gt;[Storage Location],&lt;BR /&gt;[Material Number],&lt;BR /&gt;[Stock Date],&lt;BR /&gt;[Stock Level],&lt;BR /&gt;[Order Date],&lt;BR /&gt;[Order Quantity]&lt;/P&gt;&lt;P&gt;FROM Traceability.qvd (qvd) WHERE [Stock Date]&amp;lt;=$(vQVDHistoryDate);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 10:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Let-command/m-p/350735#M705297</guid>
      <dc:creator />
      <dc:date>2012-04-13T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Let command</title>
      <link>https://community.qlik.com/t5/QlikView/Let-command/m-p/350736#M705298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Please check the ﻿ date format below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿Load Max([_Stock Date]) as [LatestDate] Resident Stock_Date2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 10:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Let-command/m-p/350736#M705298</guid>
      <dc:creator />
      <dc:date>2012-04-13T10:55:18Z</dc:date>
    </item>
    <item>
      <title>Let command</title>
      <link>https://community.qlik.com/t5/QlikView/Let-command/m-p/350737#M705299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In order to prevent confusion i use a number to represent the date, in this case its 41001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 10:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Let-command/m-p/350737#M705299</guid>
      <dc:creator />
      <dc:date>2012-04-13T10:59:20Z</dc:date>
    </item>
    <item>
      <title>Let command</title>
      <link>https://community.qlik.com/t5/QlikView/Let-command/m-p/350738#M705300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Same script i am running in QV 9.0.It's Working fine and&amp;nbsp; variable store the Date in number format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 11:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Let-command/m-p/350738#M705300</guid>
      <dc:creator />
      <dc:date>2012-04-13T11:04:02Z</dc:date>
    </item>
  </channel>
</rss>

