<?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 special join ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/special-join/m-p/147569#M25989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't drop tables A and B, everything on them remains. If you're using the script I gave you, you would need to drop A and B at the end. I could probably give you a tighter script that doesn't load tables A and B in the first place, but I assumed that tables A and B were actually coming from a database or QVD, so that a more efficient solution with inline tables wouldn't necessarily accomplish what you want.&lt;/P&gt;&lt;P&gt;Attached is what you get if you execute your script, then my script, then drop the original tables. I think it's what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 03:04:58 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2009-06-24T03:04:58Z</dc:date>
    <item>
      <title>special join ?</title>
      <link>https://community.qlik.com/t5/QlikView/special-join/m-p/147566#M25986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello at All,&lt;BR /&gt;&lt;BR /&gt; consider this:&lt;BR /&gt;&lt;BR /&gt; A:&lt;BR /&gt; Load * Inline [&lt;BR /&gt; item , amount&lt;BR /&gt; AAA, 100&lt;BR /&gt; AAA, -100&lt;BR /&gt; BBB, 50&lt;BR /&gt; CCC, 60&lt;BR /&gt; ];&lt;BR /&gt;B:&lt;BR /&gt; Load * Inline [&lt;BR /&gt; item ,qty&lt;BR /&gt; BBB, 20&lt;BR /&gt; CCC, 50&lt;BR /&gt; ];&lt;BR /&gt;&lt;BR /&gt;I need to join table "a" with table" b" and descard the&lt;BR /&gt;item, in table a, his sum is = to 0 (zero).&lt;BR /&gt; So I aspected the table excleded Item AAA (100-100).&lt;BR /&gt;In other words the result should be a new table contains&lt;BR /&gt;item BBB and CCC&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slash [:)]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 01:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/special-join/m-p/147566#M25986</guid>
      <dc:creator />
      <dc:date>2009-06-24T01:01:18Z</dc:date>
    </item>
    <item>
      <title>special join ?</title>
      <link>https://community.qlik.com/t5/QlikView/special-join/m-p/147567#M25987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;C:&lt;BR /&gt;LOAD item, sum(amount) as sum&lt;BR /&gt;RESIDENT A&lt;BR /&gt;GROUP BY item&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN (C)&lt;BR /&gt;LOAD item&lt;BR /&gt;RESIDENT C&lt;BR /&gt;WHERE sum&amp;lt;&amp;gt;0&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD sum&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN (C)&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT A&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN (C)&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT B&lt;BR /&gt;;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 01:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/special-join/m-p/147567#M25987</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-24T01:17:11Z</dc:date>
    </item>
    <item>
      <title>special join ?</title>
      <link>https://community.qlik.com/t5/QlikView/special-join/m-p/147568#M25988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I add this:&lt;/P&gt;&lt;P&gt;C:&lt;BR /&gt;LOAD item, sum(amount) as sum&lt;BR /&gt;RESIDENT A&lt;BR /&gt;GROUP BY item&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN (C)&lt;BR /&gt;LOAD item&lt;BR /&gt;RESIDENT C&lt;BR /&gt;WHERE sum&amp;lt;&amp;gt;0&lt;/P&gt;&lt;P&gt;is correct . In fact in C table the amount was &amp;lt;&amp;gt; 0 but the item AAA does not desappears but remains.. The target is to exclude item the sum of ampunt is ?0 (AAA)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Slash &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 02:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/special-join/m-p/147568#M25988</guid>
      <dc:creator />
      <dc:date>2009-06-24T02:42:00Z</dc:date>
    </item>
    <item>
      <title>special join ?</title>
      <link>https://community.qlik.com/t5/QlikView/special-join/m-p/147569#M25989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't drop tables A and B, everything on them remains. If you're using the script I gave you, you would need to drop A and B at the end. I could probably give you a tighter script that doesn't load tables A and B in the first place, but I assumed that tables A and B were actually coming from a database or QVD, so that a more efficient solution with inline tables wouldn't necessarily accomplish what you want.&lt;/P&gt;&lt;P&gt;Attached is what you get if you execute your script, then my script, then drop the original tables. I think it's what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 03:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/special-join/m-p/147569#M25989</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-24T03:04:58Z</dc:date>
    </item>
    <item>
      <title>special join ?</title>
      <link>https://community.qlik.com/t5/QlikView/special-join/m-p/147570#M25990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you all right.. I add yjis:&lt;/P&gt;&lt;P&gt;Drop table A;&lt;/P&gt;&lt;P&gt;and now it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code correct:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; A:&lt;BR /&gt; Load * Inline [&lt;BR /&gt; item , amount&lt;BR /&gt; AAA, 100&lt;BR /&gt; AAA, -100&lt;BR /&gt; BBB, 50&lt;BR /&gt; CCC, 60&lt;BR /&gt; ];&lt;BR /&gt;B:&lt;BR /&gt; Load * Inline [&lt;BR /&gt; item ,qty&lt;BR /&gt; BBB, 20&lt;BR /&gt; CCC, 50&lt;BR /&gt; ];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C:&lt;BR /&gt;Load&lt;BR /&gt;item,&lt;BR /&gt;sum(amount) as sum&lt;BR /&gt;resident A&lt;BR /&gt; group by item;&lt;BR /&gt;&lt;BR /&gt; Inner join (C) load&lt;BR /&gt; item&lt;BR /&gt; resident C&lt;BR /&gt; where sum &amp;lt;&amp;gt;0 ;&lt;BR /&gt;&lt;BR /&gt; Drop table A;&lt;/P&gt;&lt;P&gt;Many manu thanks!!!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Slash &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 03:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/special-join/m-p/147570#M25990</guid>
      <dc:creator />
      <dc:date>2009-06-24T03:36:30Z</dc:date>
    </item>
  </channel>
</rss>

