<?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 two tables and fill up null values from both tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101907#M628843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. Sushil&lt;/P&gt;&lt;P&gt;What if there is no value for the additional Key = 5 in TableA, there are still no values from TableB? How could I keep key =5 with null value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 20:40:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-29T20:40:08Z</dc:date>
    <item>
      <title>Join two tables and fill up null values from both tables</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101904#M628836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two Tables below. They have the same key and field. The reason to merge the two tables is that I want to fill up the null values in TableA with values from TableB but still keep all key in from both tables.&lt;/P&gt;&lt;P&gt;TableA:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="101" style="border: 1px solid rgb(0, 0, 0); width: 134px; height: 103px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Key&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Field&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;TableB:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="74" style="border: 1px solid rgb(0, 0, 0); width: 135px; height: 0px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Field&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The merged table should be look like:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 136px; height: 72px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Key&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Field&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 02:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101904#M628836</guid>
      <dc:creator />
      <dc:date>2016-08-29T02:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables and fill up null values from both tables</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101905#M628839</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;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD *,len(Field) Inline&lt;BR /&gt;[&lt;BR /&gt;Key,Field&lt;BR /&gt;1,10 &lt;BR /&gt;2&lt;BR /&gt;3,30 &lt;BR /&gt;]&lt;BR /&gt;where&amp;nbsp; len(Field)&amp;gt;0;&lt;/P&gt;&lt;P&gt;Concatenate&lt;BR /&gt;TableB:&lt;BR /&gt;load*,len(Field)&lt;BR /&gt;Inline &lt;BR /&gt;[&lt;BR /&gt;Key,Field&lt;BR /&gt;2,20 &lt;BR /&gt;4,40 &lt;BR /&gt;]&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 09:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101905#M628839</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2016-08-29T09:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables and fill up null values from both tables</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101906#M628842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuan,&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key, Field1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 30&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Outer Join(Table1)&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key, Field2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 40&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;Alt(Field1,Field2) as Field&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table1;&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;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 09:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101906#M628842</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-08-29T09:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables and fill up null values from both tables</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101907#M628843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. Sushil&lt;/P&gt;&lt;P&gt;What if there is no value for the additional Key = 5 in TableA, there are still no values from TableB? How could I keep key =5 with null value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 20:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-and-fill-up-null-values-from-both-tables/m-p/1101907#M628843</guid>
      <dc:creator />
      <dc:date>2016-08-29T20:40:08Z</dc:date>
    </item>
  </channel>
</rss>

