<?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: Join Data from Multiple Tables into One Sheet in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Join-Data-from-Multiple-Tables-into-One-Sheet/m-p/1939651#M77457</link>
    <description>&lt;P&gt;Hi, you can create a temporary table concatenating table1 and table2, and if not exists add a EmployeeType for each table, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tmpEmployeeAdditionalData:
LOAD ...Fields...
  1 as EmployeeType
Resident/From...Table1;

Concatenate (tmpEmployeeAdditionalData)
LOAD ...Fields...
  2 as EmployeeType
Resident/From...Table2;&lt;/LI-CODE&gt;
&lt;P&gt;Then you can an inner join with emp_no and emp__type renamed as EmpoyeeType and each employee will only keep the row that merges whit their employee type.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jun 2022 07:00:55 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2022-06-04T07:00:55Z</dc:date>
    <item>
      <title>Join Data from Multiple Tables into One Sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Join-Data-from-Multiple-Tables-into-One-Sheet/m-p/1939616#M77454</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I am trying to build an employee database.&amp;nbsp; We have 2 types of employees that have data on different tables. I would like to pull specific data for each employee type from the respective tables.&amp;nbsp; The kicker is, I want them to be in one table.&amp;nbsp; For instance, I want "Title" for employee type 1 to come from table 1, but I want Title for Employee Type 2 to come from Table 2.&amp;nbsp; I want them to be pulled into the same column in my sheet.&lt;/P&gt;
&lt;P&gt;I named each of the fields from the different tables the same name, but that gives me additional synthetic keys.&amp;nbsp; I already have the employee number as the synthetic key.&lt;/P&gt;
&lt;P&gt;I included a diagram of what I am trying to accomplish.&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 19:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Join-Data-from-Multiple-Tables-into-One-Sheet/m-p/1939616#M77454</guid>
      <dc:creator>SissyJones</dc:creator>
      <dc:date>2022-06-03T19:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Join Data from Multiple Tables into One Sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Join-Data-from-Multiple-Tables-into-One-Sheet/m-p/1939651#M77457</link>
      <description>&lt;P&gt;Hi, you can create a temporary table concatenating table1 and table2, and if not exists add a EmployeeType for each table, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tmpEmployeeAdditionalData:
LOAD ...Fields...
  1 as EmployeeType
Resident/From...Table1;

Concatenate (tmpEmployeeAdditionalData)
LOAD ...Fields...
  2 as EmployeeType
Resident/From...Table2;&lt;/LI-CODE&gt;
&lt;P&gt;Then you can an inner join with emp_no and emp__type renamed as EmpoyeeType and each employee will only keep the row that merges whit their employee type.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2022 07:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Join-Data-from-Multiple-Tables-into-One-Sheet/m-p/1939651#M77457</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-06-04T07:00:55Z</dc:date>
    </item>
  </channel>
</rss>

