<?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 Table not found error after inner join..help needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-not-found-error-after-inner-join-help-needed/m-p/280726#M104459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Every ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using some base tables and then some derived tables. in the last inner join, i get the error that table not found even though the table has been successfully create, which i can verify from the logfile too. As I have identified below, the error occurs only in the last statement. I have also tried to qualify the tables after calandar table so that each table has a different name but then it gives out of memory error. Can some one please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Planning_View:&lt;BR /&gt;LOAD PLAN_WEEK as PV_PLAN_WEEK, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM_CODE AS PV_MM_ITEM_CODE, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FORE_WEEK as PV_FORE_WEEK,&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEMDEMAND&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Calandar:&lt;BR /&gt;LOAD PERIOD , &lt;BR /&gt;WEEK &lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Plan_Calandar:&lt;BR /&gt;LOAD PERIOD AS PV_PLAN_PERIOD,&lt;BR /&gt;&amp;nbsp; WEEK AS PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Calandar;&lt;/P&gt;&lt;P&gt;INNER JOIN (Plan_Calandar)&lt;/P&gt;&lt;P&gt;LOAD PV_PLAN_WEEK&lt;/P&gt;&lt;P&gt;RESIDENT Planning_View;&lt;BR /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Fore_Calandar:&lt;BR /&gt;LOAD PERIOD AS PV_FORE_PERIOD,&lt;BR /&gt;&amp;nbsp; WEEK AS PV_FORE_WEEK&lt;BR /&gt;RESIDENT Calandar;&lt;/P&gt;&lt;P&gt;INNER JOIN (Fore_Calandar)&lt;/P&gt;&lt;P&gt;LOAD PV_FORE_WEEK&lt;/P&gt;&lt;P&gt;RESIDENT Planning_View;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max_Plan_Calandar:&lt;BR /&gt;LOAD PV_PLAN_PERIOD,&lt;BR /&gt;MAX(PV_PLAN_WEEK) AS PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Plan_Calandar&lt;BR /&gt;GROUP BY PV_PLAN_PERIOD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max_Fore_Calandar:&lt;BR /&gt;LOAD PV_FORE_PERIOD,&lt;BR /&gt;MAX(PV_FORE_WEEK) AS PV_FORE_WEEK&lt;BR /&gt;RESIDENT Fore_Calandar&lt;BR /&gt;GROUP BY PV_FORE_PERIOD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max_Data:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD PV_PLAN_WEEK,&lt;BR /&gt;&amp;nbsp; PV_FORE_WEEK,&lt;BR /&gt;&amp;nbsp; ITEMDEMAND&lt;BR /&gt;RESIDENT Planning_View;&lt;/P&gt;&lt;P&gt;INNER JOIN (Max_Data)&lt;/P&gt;&lt;P&gt;LOAD PV_PLAN_PERIOD,&lt;BR /&gt;&amp;nbsp; PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Max_Plan_Calandar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;STRONG&gt;TABLE NOT FOUND ERROR HERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (Max_Data)&lt;/P&gt;&lt;P&gt;LOAD PV_FORE_PERIOD,&lt;BR /&gt;&amp;nbsp; PV_FORE_WEEK&lt;BR /&gt;RESIDENT Max_Fore_Calandar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;STRONG&gt;TABLE NOT FOUND ERROR HERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Plan_Calandar;&lt;BR /&gt;DROP TABLE Fore_Calandar;&lt;BR /&gt;DROP TABLE Max_Plan_Calandar;&lt;BR /&gt;DROP TABLE Max_Fore_Calandar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-br&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 17:50:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-10T17:50:17Z</dc:date>
    <item>
      <title>Table not found error after inner join..help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Table-not-found-error-after-inner-join-help-needed/m-p/280726#M104459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Every ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using some base tables and then some derived tables. in the last inner join, i get the error that table not found even though the table has been successfully create, which i can verify from the logfile too. As I have identified below, the error occurs only in the last statement. I have also tried to qualify the tables after calandar table so that each table has a different name but then it gives out of memory error. Can some one please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Planning_View:&lt;BR /&gt;LOAD PLAN_WEEK as PV_PLAN_WEEK, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM_CODE AS PV_MM_ITEM_CODE, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FORE_WEEK as PV_FORE_WEEK,&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEMDEMAND&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Calandar:&lt;BR /&gt;LOAD PERIOD , &lt;BR /&gt;WEEK &lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Plan_Calandar:&lt;BR /&gt;LOAD PERIOD AS PV_PLAN_PERIOD,&lt;BR /&gt;&amp;nbsp; WEEK AS PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Calandar;&lt;/P&gt;&lt;P&gt;INNER JOIN (Plan_Calandar)&lt;/P&gt;&lt;P&gt;LOAD PV_PLAN_WEEK&lt;/P&gt;&lt;P&gt;RESIDENT Planning_View;&lt;BR /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Fore_Calandar:&lt;BR /&gt;LOAD PERIOD AS PV_FORE_PERIOD,&lt;BR /&gt;&amp;nbsp; WEEK AS PV_FORE_WEEK&lt;BR /&gt;RESIDENT Calandar;&lt;/P&gt;&lt;P&gt;INNER JOIN (Fore_Calandar)&lt;/P&gt;&lt;P&gt;LOAD PV_FORE_WEEK&lt;/P&gt;&lt;P&gt;RESIDENT Planning_View;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max_Plan_Calandar:&lt;BR /&gt;LOAD PV_PLAN_PERIOD,&lt;BR /&gt;MAX(PV_PLAN_WEEK) AS PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Plan_Calandar&lt;BR /&gt;GROUP BY PV_PLAN_PERIOD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max_Fore_Calandar:&lt;BR /&gt;LOAD PV_FORE_PERIOD,&lt;BR /&gt;MAX(PV_FORE_WEEK) AS PV_FORE_WEEK&lt;BR /&gt;RESIDENT Fore_Calandar&lt;BR /&gt;GROUP BY PV_FORE_PERIOD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max_Data:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD PV_PLAN_WEEK,&lt;BR /&gt;&amp;nbsp; PV_FORE_WEEK,&lt;BR /&gt;&amp;nbsp; ITEMDEMAND&lt;BR /&gt;RESIDENT Planning_View;&lt;/P&gt;&lt;P&gt;INNER JOIN (Max_Data)&lt;/P&gt;&lt;P&gt;LOAD PV_PLAN_PERIOD,&lt;BR /&gt;&amp;nbsp; PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Max_Plan_Calandar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;STRONG&gt;TABLE NOT FOUND ERROR HERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (Max_Data)&lt;/P&gt;&lt;P&gt;LOAD PV_FORE_PERIOD,&lt;BR /&gt;&amp;nbsp; PV_FORE_WEEK&lt;BR /&gt;RESIDENT Max_Fore_Calandar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;STRONG&gt;TABLE NOT FOUND ERROR HERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Plan_Calandar;&lt;BR /&gt;DROP TABLE Fore_Calandar;&lt;BR /&gt;DROP TABLE Max_Plan_Calandar;&lt;BR /&gt;DROP TABLE Max_Fore_Calandar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-br&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 17:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-not-found-error-after-inner-join-help-needed/m-p/280726#M104459</guid>
      <dc:creator />
      <dc:date>2011-06-10T17:50:17Z</dc:date>
    </item>
    <item>
      <title>Table not found error after inner join..help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Table-not-found-error-after-inner-join-help-needed/m-p/280727#M104460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem is that you are loading like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Plan_Calandar:&lt;BR /&gt;LOAD PERIOD AS PV_PLAN_PERIOD,&lt;BR /&gt;&amp;nbsp; WEEK AS PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Calandar;&lt;BR /&gt;INNER JOIN (Plan_Calandar)&lt;BR /&gt;LOAD PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Planning_View;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Max_Plan_Calandar:&lt;BR /&gt;LOAD PV_PLAN_PERIOD,&lt;BR /&gt;MAX(PV_PLAN_WEEK) AS PV_PLAN_WEEK&lt;BR /&gt;RESIDENT Plan_Calandar&lt;BR /&gt;GROUP BY PV_PLAN_PERIOD;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you load the same number and named fields, QlikView will automatically concatenate.&amp;nbsp; Therefore, the values that you think will be loaded into a new table called "Max_Plan_Calendar" will actually be concatenated onto "Plan_Calendar" so you will get that table not found error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple way to fix this is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max_Plan_Calandar:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD PV_PLAN_PERIOD,&lt;/P&gt;&lt;P&gt;MAX(PV_PLAN_WEEK) AS PV_PLAN_WEEK&lt;/P&gt;&lt;P&gt;RESIDENT Plan_Calandar&lt;/P&gt;&lt;P&gt;GROUP BY PV_PLAN_PERIOD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, at some stage, you need to drop/join some of these tables to prevent synthetic keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 21:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-not-found-error-after-inner-join-help-needed/m-p/280727#M104460</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2011-06-10T21:48:07Z</dc:date>
    </item>
  </channel>
</rss>

