<?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 &amp;quot;Script Error&amp;quot;, why? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-Script-Error-quot-why/m-p/376799#M140469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I want to summarize transactions in a resident table, but I'm getting the "Script Error" message and can't identify the cause.&amp;nbsp; Could someone help?&amp;nbsp; See the script below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/* Summarized Attendance Data */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AttTemp:&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DTPunchDate&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PunchDate&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;ParentTrans&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ParentT&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;AttCategory&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttCat&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;AttHours&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttH&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;monthstart&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DTPunchDate&lt;/SPAN&gt;), 'MMM-YYYY') &lt;SPAN style="color: #0000ff;"&gt;AS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;MonthYear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; AttTrans&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Order&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DTPunchDate&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;asc&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: #008000;"&gt;/* Summarizes Attendance Transactions. Used for charts showing annual info per month. */&lt;/SPAN&gt;&lt;BR /&gt;AttSumm:&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MonthYear&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;ParentT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ParentTr&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;AttCat&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttCateg&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;AttH&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttHoursSumm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; AttTemp&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Group&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MonthYear&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ParentT&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;//Order By MonthYear, ParentT asc;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;//DROP Table AttTemp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/19690_Capture.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2012 22:15:18 GMT</pubDate>
    <dc:creator>wgonzalez</dc:creator>
    <dc:date>2012-08-09T22:15:18Z</dc:date>
    <item>
      <title>"Script Error", why?</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Script-Error-quot-why/m-p/376799#M140469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I want to summarize transactions in a resident table, but I'm getting the "Script Error" message and can't identify the cause.&amp;nbsp; Could someone help?&amp;nbsp; See the script below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/* Summarized Attendance Data */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AttTemp:&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DTPunchDate&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PunchDate&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;ParentTrans&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ParentT&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;AttCategory&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttCat&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;AttHours&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttH&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;monthstart&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DTPunchDate&lt;/SPAN&gt;), 'MMM-YYYY') &lt;SPAN style="color: #0000ff;"&gt;AS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;MonthYear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; AttTrans&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Order&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DTPunchDate&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;asc&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: #008000;"&gt;/* Summarizes Attendance Transactions. Used for charts showing annual info per month. */&lt;/SPAN&gt;&lt;BR /&gt;AttSumm:&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MonthYear&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;ParentT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ParentTr&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;AttCat&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttCateg&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;AttH&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttHoursSumm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; AttTemp&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Group&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MonthYear&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ParentT&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;//Order By MonthYear, ParentT asc;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;//DROP Table AttTemp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/19690_Capture.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 22:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Script-Error-quot-why/m-p/376799#M140469</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2012-08-09T22:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: "Script Error", why?</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Script-Error-quot-why/m-p/376800#M140470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to either add AttCat to your group by field list or use an aggregation function with AttCat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;No other fields than the aggregation fields may be used outside aggregation functions in the loaded expressions.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 22:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Script-Error-quot-why/m-p/376800#M140470</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-09T22:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Script Error", why?</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Script-Error-quot-why/m-p/376801#M140471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; It worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 17:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Script-Error-quot-why/m-p/376801#M140471</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2012-08-10T17:23:53Z</dc:date>
    </item>
  </channel>
</rss>

