<?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 SyntaxError: FROM is missing in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/SyntaxError-FROM-is-missing/m-p/821900#M2891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView and I hope that you can help me. The code looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;F1&lt;/P&gt;&lt;P&gt;01.01.2014 13:00&lt;/P&gt;&lt;P&gt;02.01.2014 14:00&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;let test = date#(peek('F1', 1, Temp)); // it peeks the first date and turns it in other format ('numbers') !!hopefully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;testtable:&lt;/P&gt;&lt;P&gt;load 1 + $(test) as Test&lt;/P&gt;&lt;P&gt;Autogenerate(5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The debugger tells that everything is ok untill load in testtable: here appears SYNTAX ERROR : FROM IS MISSED/ wrong: testtable....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 20:19:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-12T20:19:01Z</dc:date>
    <item>
      <title>SyntaxError: FROM is missing</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/SyntaxError-FROM-is-missing/m-p/821900#M2891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView and I hope that you can help me. The code looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;F1&lt;/P&gt;&lt;P&gt;01.01.2014 13:00&lt;/P&gt;&lt;P&gt;02.01.2014 14:00&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;let test = date#(peek('F1', 1, Temp)); // it peeks the first date and turns it in other format ('numbers') !!hopefully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;testtable:&lt;/P&gt;&lt;P&gt;load 1 + $(test) as Test&lt;/P&gt;&lt;P&gt;Autogenerate(5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The debugger tells that everything is ok untill load in testtable: here appears SYNTAX ERROR : FROM IS MISSED/ wrong: testtable....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 20:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/SyntaxError-FROM-is-missing/m-p/821900#M2891</guid>
      <dc:creator />
      <dc:date>2014-11-12T20:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: SyntaxError: FROM is missing</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/SyntaxError-FROM-is-missing/m-p/821901#M2892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have several problems here...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You need to quote the table label inside the Peek(): P&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;eek('F1', 1, &lt;STRONG&gt;'Temp'&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;If you want the date of the &lt;EM style="text-decoration: underline;"&gt;first&lt;/EM&gt; record, you should use 0 instead: P&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;eek('F1', &lt;STRONG&gt;0&lt;/STRONG&gt;, 'Temp')&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If you want the variable '&lt;EM&gt;test'&lt;/EM&gt; to be displayed as a numeric, you should wrap the expression in Num(...): &lt;STRONG&gt;Num(&lt;/STRONG&gt;Date#(...)&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;The dollar expansion $(test) might expand the variable using decimal comma, which will cause an error. The simplest solution is to quote the dollar expansion: 1 + '$(test)' as Test&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 09:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/SyntaxError-FROM-is-missing/m-p/821901#M2892</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-11-13T09:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: SyntaxError: FROM is missing</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/SyntaxError-FROM-is-missing/m-p/821902#M2893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the help! It works! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 12:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/SyntaxError-FROM-is-missing/m-p/821902#M2893</guid>
      <dc:creator />
      <dc:date>2014-11-15T12:15:48Z</dc:date>
    </item>
  </channel>
</rss>

