<?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: Getting Error Table not found in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799257#M64731</link>
    <description>&lt;P&gt;Is there any chance that you are loading a table in your load script with the fields&amp;nbsp;&lt;SPAN&gt;A,B,C,D,X,Y,Z prior to this section of code running?&amp;nbsp; If Qlik encounters a load for a table with the same columns as a previously loaded table, it will concatenate the subsequent table to the first table.&amp;nbsp; You can prevent this with a Noconcatenate statement before loading TAB2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Noconcatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TAB2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,B,C,D,X,Y,Z&lt;/P&gt;&lt;P&gt;SELECT * from v_DB.DB_TAB2;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 21:46:16 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2021-04-13T21:46:16Z</dc:date>
    <item>
      <title>Getting Error Table not found</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799164#M64724</link>
      <description>&lt;P&gt;Hello, I have an error in the script 'table not found'&lt;/P&gt;&lt;P&gt;FOR(J=with some condition)&lt;/P&gt;&lt;P&gt;TAB1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,B,C,D,E&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT A,B,C, D,SUM(X) as E from v_DB.DB_TAB1 Group by A,B,C,D;&lt;/P&gt;&lt;P&gt;TAB2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,B,C,D,X,Y,Z&lt;/P&gt;&lt;P&gt;SELECT * from v_DB.DB_TAB2;&lt;/P&gt;&lt;P&gt;LEFT JOIN(TAB1)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,B,C,D,&lt;/P&gt;&lt;P&gt;Sum(X),&lt;/P&gt;&lt;P&gt;SUM(if(Y=1,X,0)) as SUM_TYPE1,&lt;/P&gt;&lt;P&gt;SUM((if(Y=2,X,0)) as SUM_TYPE2,&lt;/P&gt;&lt;P&gt;RESIDENT&amp;nbsp;TAB2;&lt;/P&gt;&lt;P&gt;Group by A, B,C,D&lt;/P&gt;&lt;P&gt;Next J;&lt;/P&gt;&lt;P&gt;DROP table TAB2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799164#M64724</guid>
      <dc:creator>akar_0308</dc:creator>
      <dc:date>2021-04-13T15:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Table not found</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799257#M64731</link>
      <description>&lt;P&gt;Is there any chance that you are loading a table in your load script with the fields&amp;nbsp;&lt;SPAN&gt;A,B,C,D,X,Y,Z prior to this section of code running?&amp;nbsp; If Qlik encounters a load for a table with the same columns as a previously loaded table, it will concatenate the subsequent table to the first table.&amp;nbsp; You can prevent this with a Noconcatenate statement before loading TAB2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Noconcatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TAB2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,B,C,D,X,Y,Z&lt;/P&gt;&lt;P&gt;SELECT * from v_DB.DB_TAB2;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 21:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799257#M64731</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-13T21:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Table not found</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799342#M64742</link>
      <description>&lt;P&gt;Joins within a loop are very problematic and will mostly don't work - because already in the second iteration the join will be applied on the extra added fields from the first iteration. Further the new added fields change the table-structure and therefore the second iteration won't load the data within the origin defined table else Qlik creates a new one by appending a continuous number to the table-name.&lt;/P&gt;&lt;P&gt;I don't want to say that's impossible to use such an approach - you may apply a forced concatenation and/or renaming fields and tables for and back and/or using some intermediated steps with extra stored/loaded tables and similar measures but I wouldn't recommend this direction because nearly always are better and easier approaches possible - especially from a performance point of view are such outside-loops very slow if it comes to many iterations.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 09:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799342#M64742</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-14T09:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Table not found</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799910#M64792</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;it works when i have put the left join jus after the loop ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN(TAB1)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,B,C,D,&lt;/P&gt;&lt;P&gt;Sum(X),&lt;/P&gt;&lt;P&gt;SUM(if(Y=1,X,0)) as SUM_TYPE1,&lt;/P&gt;&lt;P&gt;SUM((if(Y=2,X,0)) as SUM_TYPE2,&lt;/P&gt;&lt;P&gt;RESIDENT&amp;nbsp;TAB2;&lt;/P&gt;&lt;P&gt;Group by A, B,C,D&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 21:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-Error-Table-not-found/m-p/1799910#M64792</guid>
      <dc:creator>akar_0308</dc:creator>
      <dc:date>2021-04-15T21:32:14Z</dc:date>
    </item>
  </channel>
</rss>

