<?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: LOAD TABLE/ AUTOGENERATE in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460673#M698674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a syntax error due to the comma before AutoGenerate. But I think your problem should be in the variable assignments. If you try the following script, it will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET VARMINDATE = MakeDate(2012, 1, 1);&lt;/P&gt;&lt;P&gt;SET VARMAXDATE = MakeDate(2012, 12, 31);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Tempcalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(VARMINDATE)+ROWNO()-1 AS DATENUMBER,&lt;/P&gt;&lt;P&gt;DATE ($(VARMINDATE)+ROWNO()-1) AS TEMPDATE&lt;/P&gt;&lt;P&gt;AutoGenerate $(VARMAXDATE)-$(VARMINDATE)+1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Jan 2013 20:12:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-27T20:12:32Z</dc:date>
    <item>
      <title>LOAD TABLE/ AUTOGENERATE</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460672#M698673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new with the QV and working on the training.&lt;/P&gt;&lt;P&gt;I can't load the resident table I create, here is the script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Tempcalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(VARMINDATE)+ROWNO()-1 AS DATENUMBER,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE ($(VARMINDATE)+ROWNO()-1) AS TEMPDATE,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;AUTOGENERATE $(VARMAXDATE)-$(VARMINDATE)+1;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;no error message pops up,&lt;/P&gt;&lt;P&gt;The debugger shows,&lt;/P&gt;&lt;P&gt;VARTODAY41301&lt;/P&gt;&lt;P&gt;VARMAXDATE&amp;lt;NULL&amp;gt;&lt;/P&gt;&lt;P&gt;VARMINDATE&amp;lt;NULL&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something wrong with the autogenerate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU!&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 19:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460672#M698673</guid>
      <dc:creator />
      <dc:date>2013-01-27T19:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD TABLE/ AUTOGENERATE</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460673#M698674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a syntax error due to the comma before AutoGenerate. But I think your problem should be in the variable assignments. If you try the following script, it will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET VARMINDATE = MakeDate(2012, 1, 1);&lt;/P&gt;&lt;P&gt;SET VARMAXDATE = MakeDate(2012, 12, 31);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Tempcalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(VARMINDATE)+ROWNO()-1 AS DATENUMBER,&lt;/P&gt;&lt;P&gt;DATE ($(VARMINDATE)+ROWNO()-1) AS TEMPDATE&lt;/P&gt;&lt;P&gt;AutoGenerate $(VARMAXDATE)-$(VARMINDATE)+1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 20:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460673#M698674</guid>
      <dc:creator />
      <dc:date>2013-01-27T20:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD TABLE/ AUTOGENERATE</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460674#M698675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JG Thanks&lt;/P&gt;&lt;P&gt;but,&lt;/P&gt;&lt;P&gt;I've tried to remove the comma, but I get an "ERROR IN EXPRESSION" message in the debugger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regarding the SET function, I cannot put specific dates I must use the min and the max dates of the ORDERDATE field of the&amp;nbsp;ORDERS table.&lt;/P&gt;&lt;P&gt;again thanx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 20:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460674#M698675</guid>
      <dc:creator />
      <dc:date>2013-01-27T20:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD TABLE/ AUTOGENERATE</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460675#M698676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, then take a look at this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;DatesTable:&lt;/P&gt;&lt;P&gt;LOAD A AS LoadedDates&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Dates.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, no labels, table is Dates);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxMinDates:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Max(LoadedDates) AS MaxDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Min(LoadedDates) AS MinDate&lt;/P&gt;&lt;P&gt;Resident DatesTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VARMINDATE = Peek('MinDate');&lt;/P&gt;&lt;P&gt;VARMAXDATE = Peek('MaxDate');&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Tempcalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(VARMINDATE)+ROWNO()-1 AS DATENUMBER,&lt;/P&gt;&lt;P&gt;DATE ($(VARMINDATE)+ROWNO()-1) AS TEMPDATE&lt;/P&gt;&lt;P&gt;AutoGenerate $(VARMAXDATE)-$(VARMINDATE)+1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 20:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460675#M698676</guid>
      <dc:creator />
      <dc:date>2013-01-27T20:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD TABLE/ AUTOGENERATE</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460676#M698677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works this way,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I commented out the initial script and created the Dates file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, what happens with the script from training?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 21:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-TABLE-AUTOGENERATE/m-p/460676#M698677</guid>
      <dc:creator />
      <dc:date>2013-01-27T21:11:52Z</dc:date>
    </item>
  </channel>
</rss>

