<?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 from 2 other tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1558008#M743035</link>
    <description>&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tblOne:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Data1&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;tblTwo:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Data2&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Store tblOne into tblOne.qvd(qvd);&lt;BR /&gt;Drop table tblOne;&lt;/P&gt;&lt;P&gt;Store tblTwo into tblTwo.qvd(qvd);&lt;BR /&gt;Drop table tblTwo;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tblTempo:&lt;BR /&gt;LOAD Data1&lt;BR /&gt;FROM tblOne.qvd(qvd);&lt;/P&gt;&lt;P&gt;Join(tblTempo)&lt;/P&gt;&lt;P&gt;LOAD Data2&lt;BR /&gt;FROM tblTwo.qvd(qvd);&lt;/P&gt;&lt;P&gt;final_table:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;Data1 + Data2 as Data3&lt;BR /&gt;resident tblTempo;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DROP TABLE tblTempo;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 15:44:56 GMT</pubDate>
    <dc:creator>Marcos_rv</dc:creator>
    <dc:date>2019-03-18T15:44:56Z</dc:date>
    <item>
      <title>Resident LOAD from 2 other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1557983#M743033</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;So I need to use data from 2 different tables to calculate fields in a third table. Let's say my data is something like this:&lt;/P&gt;&lt;PRE&gt;tblOne:
LOAD&lt;BR /&gt;  Data1&lt;BR /&gt;FROM ...;&lt;BR /&gt;&lt;BR /&gt;tblTwo:&lt;BR /&gt;LOAD&lt;BR /&gt;  Data2&lt;BR /&gt;FROM ...;&lt;/PRE&gt;&lt;P&gt;Browsing the forum, I came up with something like this to use these 2 fields (Data1 and Data2) to calculate a third one.&lt;/P&gt;&lt;PRE&gt;tblTempo:&lt;BR /&gt;LOAD Data1 FROM tblOne;&lt;BR /&gt;Join(tblTempo) LOAD Data2 FROM tblTwo;&lt;BR /&gt;&lt;BR /&gt;tblThree:&lt;BR /&gt;LOAD&lt;BR /&gt;  Data1 + Data2 as Data3&lt;BR /&gt;RESIDENT tblTempo;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE tblTempo;&lt;/PRE&gt;&lt;P&gt;Currently, I get the error "No qualified path for file: ***" on my "LOAD Data1 FROM tblOne" line. I'm guessing this has something to do with how I refer to my tblOne.&lt;/P&gt;&lt;P&gt;Does anyone have a clue as to how I should proceed to solve this issue?&lt;/P&gt;&lt;P&gt;Thank you guys very much,&lt;/P&gt;&lt;P&gt;LesJean&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1557983#M743033</guid>
      <dc:creator>LesJean</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Resident LOAD from 2 other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1558002#M743034</link>
      <description>Hello,&lt;BR /&gt;Can you join screenshots of script?&lt;BR /&gt;cordially.</description>
      <pubDate>Mon, 18 Mar 2019 15:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1558002#M743034</guid>
      <dc:creator>Seyko</dc:creator>
      <dc:date>2019-03-18T15:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Resident LOAD from 2 other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1558008#M743035</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tblOne:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Data1&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;tblTwo:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Data2&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Store tblOne into tblOne.qvd(qvd);&lt;BR /&gt;Drop table tblOne;&lt;/P&gt;&lt;P&gt;Store tblTwo into tblTwo.qvd(qvd);&lt;BR /&gt;Drop table tblTwo;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tblTempo:&lt;BR /&gt;LOAD Data1&lt;BR /&gt;FROM tblOne.qvd(qvd);&lt;/P&gt;&lt;P&gt;Join(tblTempo)&lt;/P&gt;&lt;P&gt;LOAD Data2&lt;BR /&gt;FROM tblTwo.qvd(qvd);&lt;/P&gt;&lt;P&gt;final_table:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;Data1 + Data2 as Data3&lt;BR /&gt;resident tblTempo;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DROP TABLE tblTempo;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 15:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1558008#M743035</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-03-18T15:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Resident LOAD from 2 other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1558464#M743036</link>
      <description>&lt;P&gt;Thanks to both of you,&lt;/P&gt;&lt;P&gt;Marcos, your solution seems to be working for me, but I was wondering, since this will be run daily, I need to make sure to not accumulate data. Is there anyway to delete the .qvd files created during the process in the code?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;LesJean&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 13:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-from-2-other-tables/m-p/1558464#M743036</guid>
      <dc:creator>LesJean</dc:creator>
      <dc:date>2019-03-19T13:13:47Z</dc:date>
    </item>
  </channel>
</rss>

