<?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 Cannot Create variable using LEt ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86062#M602105</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 used LET various times for creating variables inside the script.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;However, today when I am doing same thing variable is only not getting created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont know how this silly thing is happening. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Max(order_date) as MaxDate,&lt;/P&gt;&lt;P&gt;Min(order_date) as MinDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vQVD)sales.QVD&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;LET vMaxDate = date(peek(‘MaxDate’));&lt;/P&gt;&lt;P&gt;LET vMinDate = date(peek(‘MinDate’));&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhumika kandpal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2018 07:14:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-19T07:14:15Z</dc:date>
    <item>
      <title>Cannot Create variable using LEt ?</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86062#M602105</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 used LET various times for creating variables inside the script.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;However, today when I am doing same thing variable is only not getting created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont know how this silly thing is happening. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Max(order_date) as MaxDate,&lt;/P&gt;&lt;P&gt;Min(order_date) as MinDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vQVD)sales.QVD&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;LET vMaxDate = date(peek(‘MaxDate’));&lt;/P&gt;&lt;P&gt;LET vMinDate = date(peek(‘MinDate’));&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhumika kandpal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 07:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86062#M602105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-19T07:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create variable using LEt ?</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86063#M602108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your code Looks good, so I woner if the Temp table was created.&lt;/P&gt;&lt;P&gt;Did you check that? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 07:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86063#M602108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-19T07:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create variable using LEt ?</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86064#M602110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested using LET in the start of the application with eg: LET a='key';&lt;/P&gt;&lt;P&gt;its not working either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 07:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86064#M602110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-19T07:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create variable using LEt ?</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86065#M602112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does not work?&lt;/P&gt;&lt;P&gt;Does the variable a have a content?&lt;/P&gt;&lt;P&gt;Is the variable vQVD populated?&lt;/P&gt;&lt;P&gt;Is the $(vQVD)sales.QVD existing?&lt;/P&gt;&lt;P&gt;Is the TempTable created?&lt;/P&gt;&lt;P&gt;Does the field order_date have values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86065#M602112</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-09-19T08:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create variable using LEt ?</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86066#M602113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You missed to specify the table from which peek() should grab the values - this is mandatory if peek() is used outside of a load (often it worked without it because peek() used then this last used table but if there is any other load-statement after the min/max table it will fail):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMaxDate = date(peek(‘MaxDate’&lt;STRONG&gt;, 0, 'Temp'&lt;/STRONG&gt;));&lt;/P&gt;&lt;P&gt;LET vMinDate = date(peek(‘MinDate’&lt;STRONG&gt;, 0, 'Temp'&lt;/STRONG&gt;));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 12:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-Create-variable-using-LEt/m-p/86066#M602113</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-19T12:22:08Z</dc:date>
    </item>
  </channel>
</rss>

