<?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: Comparing two tables and creating a new with the non matching output in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648847#M672100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does an inline load have to be used? My sources are a excel file and a .txt file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Sep 2014 15:40:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-08T15:40:15Z</dc:date>
    <item>
      <title>Comparing two tables and creating a new with the non matching output</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648844#M672097</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 two tables with the following fields and data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 138px; height: 116px;" width="136"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;App Name Total&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;App1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;App2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;App3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;App4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); width: 126px; height: 63px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;App Name Active&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;App1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;App2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;App3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wanted output:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #303030; font-family: Arial, Helvetica, sans-serif;"&gt;[&lt;/STRONG&gt;&lt;SPAN&gt;Inactive apps&lt;/SPAN&gt;&lt;STRONG style="color: #303030; font-family: Arial, Helvetica, sans-serif;"&gt;]&lt;/STRONG&gt;:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="49" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#000000&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 130px; height: 34px;"&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;Unused&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left;"&gt;App4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried loading the first table in a temp table, then joining the second field with this table, and then doing a resident load in a final table using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;temp:&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;load&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppName as [App Name Active]&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Resident [(...another table)];&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Concatenate&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;load&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Document as [App Name Total]&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;resident &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;[(...another table)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;[&lt;/SPAN&gt;Inactive apps&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;]&lt;/SPAN&gt;:&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;LOAD &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [App Name Total],&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [App Name Active]&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Resident temp&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;Where [App Name Total] &amp;lt;&amp;gt; [App Name Active];&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;DROP Table temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on why this is not giving me the correct output? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648844#M672097</guid>
      <dc:creator />
      <dc:date>2014-09-08T15:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two tables and creating a new with the non matching output</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648845#M672098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Active:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="color: #0000ff;"&gt;inline&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt;Apps&lt;BR /&gt;App1&lt;BR /&gt;App2&lt;BR /&gt;App4&lt;BR /&gt;]&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AllApps:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="color: #0000ff;"&gt;inline&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt;AllApps&lt;BR /&gt;App1&lt;BR /&gt;App2&lt;BR /&gt;App3&lt;BR /&gt;App4&lt;BR /&gt;]&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveApps:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AllApps&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inactive&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;resident&lt;/SPAN&gt; AllApps&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;not&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;exists&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Apps&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;AllApps&lt;/SPAN&gt;) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648845#M672098</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-09-08T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two tables and creating a new with the non matching output</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648846#M672099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; NAME2&lt;/P&gt;&lt;P&gt;&amp;nbsp; App1&lt;/P&gt;&lt;P&gt;&amp;nbsp; App2&lt;/P&gt;&lt;P&gt;&amp;nbsp; App3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; NAME1&lt;/P&gt;&lt;P&gt;&amp;nbsp; App1&lt;/P&gt;&lt;P&gt;&amp;nbsp; App2&lt;/P&gt;&lt;P&gt;&amp;nbsp; App3&lt;/P&gt;&lt;P&gt;&amp;nbsp; App4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T3:&lt;/P&gt;&lt;P&gt;Load NAME1 as NAME3 Resident T2 Where Not Exists (NAME2,NAME1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648846#M672099</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-08T15:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two tables and creating a new with the non matching output</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648847#M672100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does an inline load have to be used? My sources are a excel file and a .txt file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648847#M672100</guid>
      <dc:creator />
      <dc:date>2014-09-08T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two tables and creating a new with the non matching output</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648848#M672101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Inline Load is not compulsory.&lt;/P&gt;&lt;P&gt;You can use something like&lt;/P&gt;&lt;P&gt;Load NAME2 FROM TABLENAME2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt; NoConcatenate&amp;nbsp;&amp;nbsp;&amp;nbsp; //Or you can avoid &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;NoConcatenate&amp;nbsp; also&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Load NAME1 FROM TABLENAME1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;T3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load NAME1 as NAME3 Resident T2 Where Not Exists (NAME2,NAME1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648848#M672101</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-08T15:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two tables and creating a new with the non matching output</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648849#M672102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No , the load can be from any source. I simply used an inline load to create a simple example that others can use and test without any other data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 15:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-tables-and-creating-a-new-with-the-non-matching/m-p/648849#M672102</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-09-08T15:43:24Z</dc:date>
    </item>
  </channel>
</rss>

