<?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 Help with a join in the data load in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-a-join-in-the-data-load/m-p/2461849#M98909</link>
    <description>&lt;P&gt;I have two tables that I need to join in the data load.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table 1&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Phone Number&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;555-555-5555&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer Name&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;444-444-4444&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer Name&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;Table 2&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Phone Number&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer Name&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;111-111-1111&lt;/TD&gt;
&lt;TD width="50%"&gt;N/A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;555-555-5555&lt;/TD&gt;
&lt;TD width="50%"&gt;N/A&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;I need to join these two data tables into one, and if the phone number in Table 2 exists in Table 1, then show the number and the associated customer name. If the phone number doesn't exist in Table 1, add the phone number and then show N/A for the Customer Name&lt;/P&gt;
&lt;P&gt;How do I join these two tables in Qlik?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 17:54:10 GMT</pubDate>
    <dc:creator>Evan0211</dc:creator>
    <dc:date>2024-06-12T17:54:10Z</dc:date>
    <item>
      <title>Help with a join in the data load</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-a-join-in-the-data-load/m-p/2461849#M98909</link>
      <description>&lt;P&gt;I have two tables that I need to join in the data load.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table 1&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Phone Number&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;555-555-5555&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer Name&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;444-444-4444&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer Name&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;Table 2&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Phone Number&lt;/TD&gt;
&lt;TD width="50%"&gt;Customer Name&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;111-111-1111&lt;/TD&gt;
&lt;TD width="50%"&gt;N/A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;555-555-5555&lt;/TD&gt;
&lt;TD width="50%"&gt;N/A&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;I need to join these two data tables into one, and if the phone number in Table 2 exists in Table 1, then show the number and the associated customer name. If the phone number doesn't exist in Table 1, add the phone number and then show N/A for the Customer Name&lt;/P&gt;
&lt;P&gt;How do I join these two tables in Qlik?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 17:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-a-join-in-the-data-load/m-p/2461849#M98909</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2024-06-12T17:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a join in the data load</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-a-join-in-the-data-load/m-p/2461881#M98911</link>
      <description>&lt;LI-CODE lang="markup"&gt;Customer:
Load * Inline [
Phone Number, Customer
555-555-5555, Customer One
444-444-4444, Customer Two
];

Join(Customer) //This will be a full outer join
Load * Inline [
Phone Number, Customer Name
111-111-1111,N/A
555-555-5555,N/A
];

Left Join(Customer)
Load
   [Phone Number],
   Coalesce(Customer,[Customer Name]) as [Customer Desc]
Resident Customer;
Drop Fields Customer, Customer Name from Customer;

/* Result
//Keep in mind join conditions are equality only and always //based on common field names between the "named" data set and //the load statement "left join(NamedDataset) Load * ..."
Phone Number, Customer Desc
555-555-5555,Customer One
444-444-4444,Customer Two
111-111-1111,N/A
*/&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 12 Jun 2024 18:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-a-join-in-the-data-load/m-p/2461881#M98911</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2024-06-12T18:46:40Z</dc:date>
    </item>
  </channel>
</rss>

