<?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: Resident Load Refuses to Create New Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820720#M289328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you load a table (with resident, from qvd, database, etc...) in Qlik and the loaded table has the same number and name of fields of an already loaded table, Qlik will concatenate (similar to sql union) the tables.&lt;/P&gt;&lt;P&gt;In your first example you get 1 table with 8 record. This is how Qlik works ("by design").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Region_Ref:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionID_RegRef&lt;/STRONG&gt;, &lt;STRONG&gt;RegionName_RegRef&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;1,East&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;2,West&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;3,North&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;4,South&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;// It is suggested to uncomment only one of these tests at time so that you can see the different behavoir of the RESIDENT LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;TEST1_Region_Ref:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionID_RegRef&lt;/STRONG&gt;,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionName_RegRef&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;RESIDENT Region_Ref&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want 2 tables add a noconcatenate&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;TEST1_Region_Ref:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;noconcatenate &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionID_RegRef&lt;/STRONG&gt;,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionName_RegRef&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;RESIDENT Region_Ref&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Or I'm missing something?&lt;/SPAN&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2014 21:34:13 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-11-25T21:34:13Z</dc:date>
    <item>
      <title>Resident Load Refuses to Create New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820718#M289326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;History:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We were playing around with outer joins and the like when we found ourselves wanting to RESIDENT LOAD an outer joined table so that we could apply some additional logic based on some analysis of fields that came from the two original data sources we joined up using OUTER JOIN.&amp;nbsp; In the process, we stumbled on to some odd behavior of RESIDENT LOAD.&amp;nbsp; We took to some simplified examples and eventually even stepped away from RESIDENT tables, because we could reproduce the issue with just a small bit of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem/Hypothesis:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When you RESIDENT LOAD a table you must have at least one of the following differences between the source table (resident) and the newly created table:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There must be some difference in the fields/columns between the source table and new table (order of fields does not matter).&amp;nbsp; This difference must be at least one of these:&lt;UL&gt;&lt;LI&gt;There must be less fields/columns in the new table than in the source table&lt;/LI&gt;&lt;LI&gt;At least one of the fields of the new table must be aliased to have a different name than that of the source&lt;/LI&gt;&lt;LI&gt;A new field is added to the new table and given a name which does not match any name of the source table&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Failure to do one of these will result in the RESIDENT table being loaded back on to itself creating duplicate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have attached the code which shows these anomalies.&amp;nbsp; When you reload the script you will notice that not all of the tables get created and the source table gets populated with lots of duplicate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Request:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We would very much appreciate it if someone could explain this strange behavior &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt; or validate it as a bug &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820718#M289326</guid>
      <dc:creator />
      <dc:date>2014-11-25T21:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Resident Load Refuses to Create New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820719#M289327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I know what you may be looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try putting NOCONCATENATE right before LOAD statements. Do one at a time to see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that synthetic keys will be created, which you should, in general, avoid. But, since you are just playing around.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820719#M289327</guid>
      <dc:creator>jsakalis</dc:creator>
      <dc:date>2014-11-25T21:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Resident Load Refuses to Create New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820720#M289328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you load a table (with resident, from qvd, database, etc...) in Qlik and the loaded table has the same number and name of fields of an already loaded table, Qlik will concatenate (similar to sql union) the tables.&lt;/P&gt;&lt;P&gt;In your first example you get 1 table with 8 record. This is how Qlik works ("by design").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Region_Ref:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionID_RegRef&lt;/STRONG&gt;, &lt;STRONG&gt;RegionName_RegRef&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;1,East&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;2,West&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;3,North&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;4,South&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;// It is suggested to uncomment only one of these tests at time so that you can see the different behavoir of the RESIDENT LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;TEST1_Region_Ref:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionID_RegRef&lt;/STRONG&gt;,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionName_RegRef&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;RESIDENT Region_Ref&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want 2 tables add a noconcatenate&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;TEST1_Region_Ref:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;noconcatenate &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionID_RegRef&lt;/STRONG&gt;,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;RegionName_RegRef&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;RESIDENT Region_Ref&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Or I'm missing something?&lt;/SPAN&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820720#M289328</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-25T21:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Resident Load Refuses to Create New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820721#M289329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Massimo and John.&amp;nbsp; You are both correct and have solved the issue entirely.&amp;nbsp; I should add that in our original plans we never intended to keep the source table after the resident load, but now we know if we did want to keep it, we could with NOCONCATENATE.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-Load-Refuses-to-Create-New-Table/m-p/820721#M289329</guid>
      <dc:creator />
      <dc:date>2014-11-25T21:40:55Z</dc:date>
    </item>
  </channel>
</rss>

