<?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 Script Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351928#M130542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i think you must a group by statement if you use the max function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2012 14:35:34 GMT</pubDate>
    <dc:creator>michael_maeuser</dc:creator>
    <dc:date>2012-04-17T14:35:34Z</dc:date>
    <item>
      <title>Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351912#M130526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody understand why I'm getting this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the same temp table strategy for all three tables, it works for the first two, then fails on the last one. I've attached the whole script, and I have pulled out the problematic piece. Why is it trying to find NodeID? I don't have it in my load statement? Any Ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the script&lt;/P&gt;&lt;P&gt;LoadTime6:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Max(DateNum) as LastModifiedDate&lt;/P&gt;&lt;P&gt;FROM [CPULoad2.qvd](qvd);&lt;/P&gt;&lt;P&gt;Let vLastExecTime2 = peek('LastModifiedDate');&lt;/P&gt;&lt;P&gt;Drop Table LoadTime2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Not found - &amp;lt;NodeID&amp;gt; &lt;/P&gt;&lt;P&gt;LoadTime6:&lt;/P&gt;&lt;P&gt;Load......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 17:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351912#M130526</guid>
      <dc:creator />
      <dc:date>2012-04-13T17:11:13Z</dc:date>
    </item>
    <item>
      <title>Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351913#M130527</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; Would you please tell us after what statement in script you get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Use Debug to find that statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 17:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351913#M130527</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-04-13T17:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351914#M130528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Log file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4/13/2012 12:08:22 PM: 0108  LoadTime6:&lt;/P&gt;&lt;P&gt;4/13/2012 12:08:22 PM: 0109  Load&lt;/P&gt;&lt;P&gt;4/13/2012 12:08:22 PM: 0110  Max(DateNum) as LastModifiedDate&lt;/P&gt;&lt;P&gt;4/13/2012 12:08:22 PM: 0111  FROM &lt;A href="https://community.qlik.com/CPULoad2.qvd"&gt;&lt;/A&gt;(qvd)&lt;/P&gt;&lt;P&gt;4/13/2012 12:08:26 PM:       Error: Field not found - &lt;/P&gt;&lt;P&gt;4/13/2012 12:09:51 PM: 0112  Let vLastExecTime2 = peek('LastModifiedDate')&lt;/P&gt;&lt;P&gt;4/13/2012 12:09:51 PM: 0113  Drop Table LoadTime2&lt;/P&gt;&lt;P&gt;4/13/2012 12:09:51 PM:       Error: Table not found&lt;/P&gt;&lt;P&gt;4/13/2012 12:09:52 PM: 0115  CPULoad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex Peasley&lt;/P&gt;&lt;P&gt;Business Intelligence Architect&lt;/P&gt;&lt;P&gt;Core BTS&lt;/P&gt;&lt;P&gt;608-661-7769&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 17:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351914#M130528</guid>
      <dc:creator />
      <dc:date>2012-04-13T17:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351915#M130529</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; Correct me if i am wrong. You mean to say that at line 0111 you are getting error as "field not found - NodeID'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 17:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351915#M130529</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-04-13T17:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351916#M130530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, no idea why it is saying that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex Peasley&lt;/P&gt;&lt;P&gt;Business Intelligence Architect&lt;/P&gt;&lt;P&gt;Core BTS&lt;/P&gt;&lt;P&gt;608-661-7769&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 17:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351916#M130530</guid>
      <dc:creator />
      <dc:date>2012-04-13T17:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351917#M130531</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;use the return of select statement in UPPERCASE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;InterfaceTrafficDetail:&lt;/P&gt;&lt;P&gt;Load * From [InterfaceTrafficDetail2.qvd](qvd);&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NODEID&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INTERFACEID&lt;/STRONG&gt; AS InterfaceID,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Num(floor(&lt;STRONG&gt;DATETIME&lt;/STRONG&gt;)) AS DateNum,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATETIME&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 17:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351917#M130531</guid>
      <dc:creator />
      <dc:date>2012-04-13T17:54:35Z</dc:date>
    </item>
    <item>
      <title>Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351918#M130532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats not where the errors is, its in the temp table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 18:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351918#M130532</guid>
      <dc:creator />
      <dc:date>2012-04-13T18:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351919#M130533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;"I get this error.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Field Not found - &amp;lt;NodeID&amp;gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LoadTime6:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load......"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return of your SQL query must be read in uppercase. Do You got change to see if the error continues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, but the error that appears is that the field does not exist. And not with respect to temporary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make a small test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TMP_TEST:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;NodeID;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT NodeID&lt;/P&gt;&lt;P&gt;FROM CoreNOC.dbo.InterfaceTraffic_Detail&lt;/P&gt;&lt;P&gt;WHERE floor (convert (decimal (12,5), DateTime))&amp;gt; = '$ (vLasExecTime3)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This command runs correctly? My SQL queries return correctly when return on upper case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TMP_TEST:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;NODEID;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT NodeID&lt;/P&gt;&lt;P&gt;FROM CoreNOC.dbo.InterfaceTraffic_Detail&lt;/P&gt;&lt;P&gt;WHERE floor (convert (decimal (12,5), DateTime))&amp;gt; = '$ (vLasExecTime3)';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 19:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351919#M130533</guid>
      <dc:creator />
      <dc:date>2012-04-13T19:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351920#M130534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I actually take out the 1 and 2 temp tables and run the CPULoad table load on its own, it creates the variable fine and successfully loads. That’s why I’m so confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex Peasley&lt;/P&gt;&lt;P&gt;Business Intelligence Architect&lt;/P&gt;&lt;P&gt;Core BTS&lt;/P&gt;&lt;P&gt;608-661-7769&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 19:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351920#M130534</guid>
      <dc:creator />
      <dc:date>2012-04-13T19:52:38Z</dc:date>
    </item>
    <item>
      <title>Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351921#M130535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your table label is "LoadTime6" but your drop statement references LoadTime2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post yout document log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 22:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351921#M130535</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-04-13T22:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351922#M130536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was messing with the Temp table to see if anything would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex Peasley&lt;/P&gt;&lt;P&gt;Business Intelligence Architect&lt;/P&gt;&lt;P&gt;Core BTS&lt;/P&gt;&lt;P&gt;608-661-7769&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 20:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351922#M130536</guid>
      <dc:creator />
      <dc:date>2012-04-16T20:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351923#M130537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;There is a&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;file "&lt;/SPAN&gt;&lt;SPAN&gt;CPULoad2.qvd&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when do you run the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try change line 108, 109 ,110, 111 with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CPULoad:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX(DateNum) AS LastModifiedDate&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NodeID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateNum, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AvgLoad, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AvgMemoryUsed, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AvgPercentMemoryUsed&lt;/P&gt;&lt;P&gt;From [CPULoad2.qvd](qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 20:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351923#M130537</guid>
      <dc:creator />
      <dc:date>2012-04-16T20:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351924#M130538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; line 127 should rather be NodeID. you're storing Nodeid into the qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 23:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351924#M130538</guid>
      <dc:creator />
      <dc:date>2012-04-16T23:14:46Z</dc:date>
    </item>
    <item>
      <title>Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351925#M130539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Jasleen. The message may be appearing out of order, but I think the problem is with the last LOAD stmt. The problem is the mismatch between SQL NodeId and the LOAD NodeID. SQL is not case sensitive, but QV is. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So either change the SQL to NodeID or change the load to "NodeId as NodeID".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 03:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351925#M130539</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-04-17T03:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351926#M130540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still don’t think that’s the issue. When I comment out the load script and just try to run the Temp Table. I get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the temp table all by its self in the script, it works fine. But when I uncomment the first two tables, it errors out. What gives?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LoadTime2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Max(DateNum) as LastModifiedDate&lt;/P&gt;&lt;P&gt;FROM &lt;A href="https://community.qlik.com/CPULoad2.qvd"&gt;&lt;/A&gt;(qvd);&lt;/P&gt;&lt;P&gt;Let vLastExecTime2 = peek('LastModifiedDate',0,'LoadTime2');&lt;/P&gt;&lt;P&gt;Drop Table LoadTime2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//CPULoad:&lt;/P&gt;&lt;P&gt;//Load * From &lt;A href="https://community.qlik.com/CPULoad2.qvd"&gt;&lt;/A&gt;(qvd);&lt;/P&gt;&lt;P&gt;//Concatenate&lt;/P&gt;&lt;P&gt;//LOAD&lt;/P&gt;&lt;P&gt;//DateTime,&lt;/P&gt;&lt;P&gt;//Date,&lt;/P&gt;&lt;P&gt;//NodeID,&lt;/P&gt;&lt;P&gt;//Num(floor(DateTime)) AS DateNum,&lt;/P&gt;&lt;P&gt;//AvgLoad,&lt;/P&gt;&lt;P&gt;//AvgMemoryUsed,&lt;/P&gt;&lt;P&gt;//AvgPercentMemoryUsed;&lt;/P&gt;&lt;P&gt;//SQL SELECT&lt;/P&gt;&lt;P&gt;//NodeID,&lt;/P&gt;&lt;P&gt;//Cast(DateTime AS bigint) AS Date,&lt;/P&gt;&lt;P&gt;//DateTime,&lt;/P&gt;&lt;P&gt;// floor(convert(decimal(12,5),DateTime)) AS Date,&lt;/P&gt;&lt;P&gt;//AvgLoad,&lt;/P&gt;&lt;P&gt;//AvgMemoryUsed,&lt;/P&gt;&lt;P&gt;//AvgPercentMemoryUsed FROM CoreNOC.dbo.CPULoad_Detail&lt;/P&gt;&lt;P&gt;//WHERE  floor(convert(decimal(12,5),DateTime))  &amp;gt;= '$(vLastExecTime2)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//STORE CPULoad INTO CPULoad2.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table CPULoad;&lt;/P&gt;&lt;P&gt;DROP Table AvgUpTime;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex Peasley&lt;/P&gt;&lt;P&gt;Business Intelligence Architect&lt;/P&gt;&lt;P&gt;Core BTS&lt;/P&gt;&lt;P&gt;608-661-7769&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 14:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351926#M130540</guid>
      <dc:creator />
      <dc:date>2012-04-17T14:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351927#M130541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I think it is because of the max. I recently tried the max function in script. it didn´t work that way. remove max and try if this is the cause of the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 14:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351927#M130541</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2012-04-17T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351928#M130542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i think you must a group by statement if you use the max function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 14:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/351928#M130542</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2012-04-17T14:35:34Z</dc:date>
    </item>
  </channel>
</rss>

