<?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: LEFT and RIGHT JOINS in Qlikview's Table View? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946583#M955311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use "Keep" instead of "Join" like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14479806383751926 jive_text_macro" jivemacro_uid="_14479806383751926"&gt;
&lt;P&gt;tabWarrantyCodes: &lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;WARRANTY_PERIOD, WARRANTY_TABLE_DESCRIPTION&lt;/P&gt;
&lt;P&gt;1, tabdescription1&lt;/P&gt;
&lt;P&gt;2, tabdescription2&lt;/P&gt;
&lt;P&gt;3, tabdescription3&lt;/P&gt;
&lt;P&gt;4, tabdescription4&lt;/P&gt;
&lt;P&gt;5, tabdescription5&lt;/P&gt;
&lt;P&gt;6, tabdescription6&lt;/P&gt;
&lt;P&gt;7, tabdescription7&lt;/P&gt;
&lt;P&gt;8, tabdescription8&lt;/P&gt;
&lt;P&gt;9, tabdescription9&lt;/P&gt;
&lt;P&gt;10, tabdescription10&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Right Keep (tabWarrantyCodes) &lt;/P&gt;
&lt;P&gt;tabWarrFriendlyDesc:&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;WARRANTY_PERIOD, WARRANTY_CODE, WARRANTY_DESCRIPTION, WARRANTY_TYPE&lt;/P&gt;
&lt;P&gt;3, code3, description3, type3&lt;/P&gt;
&lt;P&gt;4, code4, description4, type4&lt;/P&gt;
&lt;P&gt;5, code5, description5, type5&lt;/P&gt;
&lt;P&gt;6, code6, description6, type6&lt;/P&gt;
&lt;P&gt;7, code7, description7, type7&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_192236_Pic2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106154_QlikCommunity_Thread_192236_Pic2.JPG" style="height: 116px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_192236_Pic3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/106155_QlikCommunity_Thread_192236_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 00:52:15 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-11-20T00:52:15Z</dc:date>
    <item>
      <title>LEFT and RIGHT JOINS in Qlikview's Table View?</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946578#M955306</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm using ODBC to connect to one of my databases and I load two tables into my Qlikview document. I can see both tables in the "Table Viewer" and Qlikview has automatically done the JOIN between them. The problem is that it apparently made a natural join while I want it to be a Right Join. I cannot find the way to change that Join into a Right Join. I don't want to do a sql statement in the "Edit Script" option because I'll be adding more tables and the joins for those tables would some be Left, Right or natural joins so I would end up with a monster sql statement and I will end up seeing just one table in Qlikview, which I don't want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Does anyone know how to change the join type once the two tables are already loaded into Qlikview? I really appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script to load the tables:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/106138_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Tables joined in the Table Viewer:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106137_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946578#M955306</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT and RIGHT JOINS in Qlikview's Table View?</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946579#M955307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tables are not joined. If they would have been joined, you would have seen only one table.&lt;/P&gt;&lt;P&gt;What you see is that there is a relation between the two tables as they apparently share a field with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice that you are not using preceding loads. I strongly suggest you do so.&lt;/P&gt;&lt;P&gt;I also notice you do not give your tables names. I strongly suggest you do so, especially if you DO want to start joining tables when more developing your script or when you prefer more humanly acceptable names (instead of the terrible technical names they probably currently have). Add something like this in front of every SQL statement your currently have:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;TableName:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are absolutely right about not wanting to do much in the SQL statements. The more you can do in the Qlik script, the better (in most cases).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not see the problem with just seeing 1 table in QlikView. It might actually be better for performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to load values from the second table for those that have already keys in the first table, add this line:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;where exists(WARRENTY_PERIOD)&lt;/P&gt;&lt;P&gt;to your SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do end up wanting to join them, add one of these lines before your preceding load script:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;left join(TableName)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;right join(TableName)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;inner join(TableName)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;join(TableName) // for outer join&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 23:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946579#M955307</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-11-19T23:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT and RIGHT JOINS in Qlikview's Table View?</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946580#M955308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one implementation of Onno's suggestion could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14479796706547829 jive_text_macro" jivemacro_uid="_14479796706547829" modifiedtitle="true"&gt;
&lt;P&gt;tabWarrantyCodes:&lt;/P&gt;
&lt;P&gt;SQL Select *&lt;/P&gt;
&lt;P&gt;FROM DIM_WARRANTY_CODES;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabWarrFriendlyDesc:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;Where Exists(WARRANTY_PERIOD);&lt;/P&gt;
&lt;P&gt;SQL Select *&lt;/P&gt;
&lt;P&gt;FROM DIM_WARR_FRIENDLY_DESC&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 00:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946580#M955308</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-11-20T00:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT and RIGHT JOINS in Qlikview's Table View?</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946581#M955309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*;&lt;/P&gt;&lt;P&gt;SQL Select&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;From MyLeftTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right Join (MyTable)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*;&lt;/P&gt;&lt;P&gt;SQL Select&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;From MyRightTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 00:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946581#M955309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-20T00:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT and RIGHT JOINS in Qlikview's Table View?</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946582#M955310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="106152" alt="QlikCommunity_Thread_192236_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106152_QlikCommunity_Thread_192236_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_192236_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/106153_QlikCommunity_Thread_192236_Pic2.JPG" style="height: 116px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14479803612141073 jive_text_macro" jivemacro_uid="_14479803612141073"&gt;
&lt;P&gt;tabWarrFriendlyDesc:&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;WARRANTY_PERIOD, WARRANTY_CODE, WARRANTY_DESCRIPTION, WARRANTY_TYPE&lt;/P&gt;
&lt;P&gt;3, code3, description3, type3&lt;/P&gt;
&lt;P&gt;4, code4, description4, type4&lt;/P&gt;
&lt;P&gt;5, code5, description5, type5&lt;/P&gt;
&lt;P&gt;6, code6, description6, type6&lt;/P&gt;
&lt;P&gt;7, code7, description7, type7&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabWarrantyCodes:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;Where Exists(WARRANTY_PERIOD);&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;WARRANTY_PERIOD, WARRANTY_TABLE_DESCRIPTION&lt;/P&gt;
&lt;P&gt;1, tabdescription1&lt;/P&gt;
&lt;P&gt;2, tabdescription2&lt;/P&gt;
&lt;P&gt;3, tabdescription3&lt;/P&gt;
&lt;P&gt;4, tabdescription4&lt;/P&gt;
&lt;P&gt;5, tabdescription5&lt;/P&gt;
&lt;P&gt;6, tabdescription6&lt;/P&gt;
&lt;P&gt;7, tabdescription7&lt;/P&gt;
&lt;P&gt;8, tabdescription8&lt;/P&gt;
&lt;P&gt;9, tabdescription9&lt;/P&gt;
&lt;P&gt;10, tabdescription10&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 00:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946582#M955310</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-11-20T00:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT and RIGHT JOINS in Qlikview's Table View?</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946583#M955311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use "Keep" instead of "Join" like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14479806383751926 jive_text_macro" jivemacro_uid="_14479806383751926"&gt;
&lt;P&gt;tabWarrantyCodes: &lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;WARRANTY_PERIOD, WARRANTY_TABLE_DESCRIPTION&lt;/P&gt;
&lt;P&gt;1, tabdescription1&lt;/P&gt;
&lt;P&gt;2, tabdescription2&lt;/P&gt;
&lt;P&gt;3, tabdescription3&lt;/P&gt;
&lt;P&gt;4, tabdescription4&lt;/P&gt;
&lt;P&gt;5, tabdescription5&lt;/P&gt;
&lt;P&gt;6, tabdescription6&lt;/P&gt;
&lt;P&gt;7, tabdescription7&lt;/P&gt;
&lt;P&gt;8, tabdescription8&lt;/P&gt;
&lt;P&gt;9, tabdescription9&lt;/P&gt;
&lt;P&gt;10, tabdescription10&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Right Keep (tabWarrantyCodes) &lt;/P&gt;
&lt;P&gt;tabWarrFriendlyDesc:&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;WARRANTY_PERIOD, WARRANTY_CODE, WARRANTY_DESCRIPTION, WARRANTY_TYPE&lt;/P&gt;
&lt;P&gt;3, code3, description3, type3&lt;/P&gt;
&lt;P&gt;4, code4, description4, type4&lt;/P&gt;
&lt;P&gt;5, code5, description5, type5&lt;/P&gt;
&lt;P&gt;6, code6, description6, type6&lt;/P&gt;
&lt;P&gt;7, code7, description7, type7&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_192236_Pic2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106154_QlikCommunity_Thread_192236_Pic2.JPG" style="height: 116px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_192236_Pic3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/106155_QlikCommunity_Thread_192236_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 00:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-and-RIGHT-JOINS-in-Qlikview-s-Table-View/m-p/946583#M955311</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-11-20T00:52:15Z</dc:date>
    </item>
  </channel>
</rss>

