<?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 why is this join not working? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184021#M49063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;ODBC CONNECT TO DB2;&lt;BR /&gt;LOAD FileNumber, Zone,&lt;BR /&gt; Value;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM BLA1;&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&lt;BR /&gt;ODBC CONNECT TO DB2;&lt;BR /&gt;LOAD AccountNumber AS FileNumber,&lt;BR /&gt; Contact,&lt;BR /&gt; VoiceMail,&lt;BR /&gt; Busy;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM BLA2;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;this should work .. but when i make a pivot table with Zone as dimension and a COUNT(FileNumber) as expression.. when i still have an empty zone with a count(FileNumber). Those Filenumber are the ones that are in BLA2 but not in BLA1 .. i only need all records from DB1 and the additional values of DB2 if match on Filenumber. in SQL LEFT JOIN should work .. but i dont know why this is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2009 22:37:59 GMT</pubDate>
    <dc:creator>amien</dc:creator>
    <dc:date>2009-09-11T22:37:59Z</dc:date>
    <item>
      <title>why is this join not working?</title>
      <link>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184021#M49063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;ODBC CONNECT TO DB2;&lt;BR /&gt;LOAD FileNumber, Zone,&lt;BR /&gt; Value;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM BLA1;&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&lt;BR /&gt;ODBC CONNECT TO DB2;&lt;BR /&gt;LOAD AccountNumber AS FileNumber,&lt;BR /&gt; Contact,&lt;BR /&gt; VoiceMail,&lt;BR /&gt; Busy;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM BLA2;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;this should work .. but when i make a pivot table with Zone as dimension and a COUNT(FileNumber) as expression.. when i still have an empty zone with a count(FileNumber). Those Filenumber are the ones that are in BLA2 but not in BLA1 .. i only need all records from DB1 and the additional values of DB2 if match on Filenumber. in SQL LEFT JOIN should work .. but i dont know why this is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 22:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184021#M49063</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2009-09-11T22:37:59Z</dc:date>
    </item>
    <item>
      <title>why is this join not working?</title>
      <link>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184022#M49064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Amien wrote:&lt;BR /&gt;ODBC CONNECT TO DB2;&lt;BR /&gt;LOAD FileNumber, Zone,&lt;BR /&gt; Value;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM BLA1;&lt;BR /&gt;ODBC CONNECT TO DB2;&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;LOAD AccountNumber AS FileNumber,&lt;BR /&gt; Contact,&lt;BR /&gt; VoiceMail,&lt;BR /&gt; Busy;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM BLA2;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;the code above should work - the ODBC CONNECT needs to precede Left Join. If it's connecting the the same database, it's even redundant. The rest of the syntax looks OK.&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 22:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184022#M49064</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-09-11T22:46:17Z</dc:date>
    </item>
    <item>
      <title>why is this join not working?</title>
      <link>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184023#M49065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're connecting to a different database, there should be the DISCONNECT statement before the second connect.&lt;BR /&gt;I never tried to skip DISCONNECT - may be it is not really necessary (?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 01:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184023#M49065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-14T01:04:56Z</dc:date>
    </item>
    <item>
      <title>why is this join not working?</title>
      <link>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184024#M49066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perfect .. thanks al!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184024#M49066</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2009-09-14T13:21:57Z</dc:date>
    </item>
    <item>
      <title>why is this join not working?</title>
      <link>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184025#M49067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;according to the manual, the connection is automaticly disconnected when a new CONNECT job is executed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 14:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-is-this-join-not-working/m-p/184025#M49067</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2009-09-14T14:04:36Z</dc:date>
    </item>
  </channel>
</rss>

