<?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: Error in expression: ')' expected and Table not found in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402957#M425084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then maybe start with posting your full LOAD statement for TEMP_FACT table and also double check the variable vQVD.&lt;/P&gt;&lt;P&gt;edit: And please post full error message (e.g. using a screen shot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue may even arise from a statement that appears before the TEMP_FACT table LOAD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Sep 2017 21:25:06 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-09-24T21:25:06Z</dc:date>
    <item>
      <title>Error in expression: ')' expected and Table not found</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402952#M425079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error while trying to run this script. it says: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error in expression: &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;')' expected and Table 'TEMP_FACT' not found&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What am i doing wrong? Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP_FACT:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AssetModelKey, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AssetStatusKey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLAG, ....etc&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vQVD)Fact1.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FACT:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;IF((FLAG='INV' AND Match(AssetStatusKey,'2','4')), RangeSum(Count(AssetModelKey),Peek('AccumulateInventory')), Count(AssetModelKey)) as AccumulateInventory,&lt;/P&gt;&lt;P&gt;IF((FLAG='INV' AND Match(AssetStatusKey,'3','5')), RangeSum(Count(AssetModelKey),Peek('AccumulateSold')), Count(AssetModelKey)) as AccumulateSold&lt;/P&gt;&lt;P&gt;Resident TEMP_FACT;&lt;/P&gt;&lt;P&gt;DROP TABLE TEMP_FACT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 20:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402952#M425079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-24T20:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected and Table not found</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402953#M425080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your TEMP_FACT table may need a comma separating your field name &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AssetStatusKey from FLAG.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Your FACT table is using aggregation functions like Count() without a GROUP BY clause, which will not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 20:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402953#M425080</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-24T20:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected and Table not found</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402954#M425081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added Group By, but it still give me the same error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TEMP_FACT:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AssetModelKey,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AssetStatusKey,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLAG,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AgrmntNo&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;....etc&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vQVD)Fact1.qvd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FACT:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF((FLAG='INV' AND Match(AssetStatusKey,'2','4')), RangeSum(Count(AssetModelKey),Peek('AccumulateInventory')), Count(AssetModelKey)) as AccumulateInventory,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF((FLAG='INV' AND Match(AssetStatusKey,'3','5')), RangeSum(Count(AssetModelKey),Peek('AccumulateSold')), Count(AssetModelKey)) as AccumulateSold&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident TEMP_FACT&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By AgrmntNo;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP TABLE TEMP_FACT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 21:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402954#M425081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-24T21:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected and Table not found</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402955#M425082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this really one single error message or do you see several errors popping up one after the other?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you add an exit script statement&amp;nbsp; before the FACT table load, does it&amp;nbsp; execute without error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your GROUP BY needs to list all fields that are not used within aggregation functions, hence since you are using a star symbol in your FACT table load, you at least are missing FLAG, AssetModelKey, AssetStatusKey, AgrmntNo fields in your group by.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 21:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402955#M425082</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-24T21:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected and Table not found</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402956#M425083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is actually several errors popping after another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i add exit script it still gives the error ') is expected'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 21:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402956#M425083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-24T21:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected and Table not found</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402957#M425084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then maybe start with posting your full LOAD statement for TEMP_FACT table and also double check the variable vQVD.&lt;/P&gt;&lt;P&gt;edit: And please post full error message (e.g. using a screen shot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue may even arise from a statement that appears before the TEMP_FACT table LOAD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 21:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected-and-Table-not-found/m-p/1402957#M425084</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-24T21:25:06Z</dc:date>
    </item>
  </channel>
</rss>

