<?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 Loading data from 2 files, and merging them? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loading-data-from-2-files-and-merging-them/m-p/1307885#M27872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a series of flat files, of which 2 are particularly troublesome... The Parent table has 99% of the data I want, but some of the rows have child data in Child (ColD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The record in Child joins to ColC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would this work in theory:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Child]:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load [ChildA] as [ColC], [ChildB]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from &amp;lt;Filename&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[tmpParent]:&lt;/P&gt;&lt;P&gt;Load [ColA], [ColB], [ColC]&lt;/P&gt;&lt;P&gt;from &amp;lt;Filename&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[PArent];&lt;/P&gt;&lt;P&gt;Resident Load [ColA],[ColB], [ColC]&lt;/P&gt;&lt;P&gt;from tmpParent&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;Resident Load [ColD] from Child;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I should add that I'm away from my server for the weekend, and this is seriously bugging me!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Jun 2017 07:23:11 GMT</pubDate>
    <dc:creator>ijcornish</dc:creator>
    <dc:date>2017-06-17T07:23:11Z</dc:date>
    <item>
      <title>Loading data from 2 files, and merging them?</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-from-2-files-and-merging-them/m-p/1307885#M27872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a series of flat files, of which 2 are particularly troublesome... The Parent table has 99% of the data I want, but some of the rows have child data in Child (ColD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The record in Child joins to ColC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would this work in theory:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Child]:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load [ChildA] as [ColC], [ChildB]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from &amp;lt;Filename&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[tmpParent]:&lt;/P&gt;&lt;P&gt;Load [ColA], [ColB], [ColC]&lt;/P&gt;&lt;P&gt;from &amp;lt;Filename&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[PArent];&lt;/P&gt;&lt;P&gt;Resident Load [ColA],[ColB], [ColC]&lt;/P&gt;&lt;P&gt;from tmpParent&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;Resident Load [ColD] from Child;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I should add that I'm away from my server for the weekend, and this is seriously bugging me!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2017 07:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-from-2-files-and-merging-them/m-p/1307885#M27872</guid>
      <dc:creator>ijcornish</dc:creator>
      <dc:date>2017-06-17T07:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from 2 files, and merging them?</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-from-2-files-and-merging-them/m-p/1307886#M27873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% sure what you are trying to do, but your resident is wrong to begin with.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/3.2/Subsystems/Hub/Content/Scripting/load-data-from-previously-loaded-table.htm#anchor-2" title="http://help.qlik.com/en-US/sense/3.2/Subsystems/Hub/Content/Scripting/load-data-from-previously-loaded-table.htm#anchor-2"&gt;Loading data from a previously loaded table ‒ Qlik Sense&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;But I think a resident is not needed at as you seem to be taking &lt;SPAN style="font-size: 10pt;"&gt;unneeded steps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In your example it is unclear where field D is located. I am going to assume in the "Child" table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am also having some doubt about what the key field is between the two tables. I am guessing field C since you are renaming something to C&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If so, this is what I think the script should look like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Parent]:&lt;/P&gt;&lt;P&gt;Load [ColA], [ColB], [ColC]&lt;/P&gt;&lt;P&gt;from &amp;lt;Filename&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Child]:&lt;/P&gt;&lt;P&gt;Left Join(Parent)&lt;/P&gt;&lt;P&gt;Load [ChildA] as [ColC], [ChildB], D&lt;/P&gt;&lt;P&gt;from &amp;lt;Filename&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result will be a table called "Parent" with these fields:&lt;/P&gt;&lt;P&gt;ColA&lt;/P&gt;&lt;P&gt;ColB&lt;/P&gt;&lt;P&gt;ColC&lt;/P&gt;&lt;P&gt;ChildB&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not answer it for you, please be more clear about which table contains which fields and what should be the end result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2017 12:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-from-2-files-and-merging-them/m-p/1307886#M27873</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2017-06-17T12:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from 2 files, and merging them?</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-from-2-files-and-merging-them/m-p/1307887#M27874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptPrefixes/Hierarchy.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptPrefixes/Hierarchy.htm"&gt;Hierarchy ‒ QlikView&lt;/A&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 22:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-from-2-files-and-merging-them/m-p/1307887#M27874</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-07-18T22:16:37Z</dc:date>
    </item>
  </channel>
</rss>

