<?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: Joining Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643579#M235788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would this be a situation where a OUTER JOIN would be used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 14:57:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-22T14:57:15Z</dc:date>
    <item>
      <title>Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643578#M235787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am joining 2 seperate data sources on a Vehicle Vin&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 1: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Vehicle.VINNumber as %VIN&lt;/P&gt;&lt;P&gt;from $(vQVDLOADPATH_Source1)Vehicle.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Vehicle.VIN AS %VIN, &lt;/P&gt;&lt;P&gt;* FROM $(vQVDLOADPATH_Source2)Vehicle.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can i write so i only Load Unique results from Table 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because Tablle 1 has thousands rows of data and Table 2 only has 52 i only want to Dislpay 52 over the whole report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643578#M235787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643579#M235788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would this be a situation where a OUTER JOIN would be used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643579#M235788</guid>
      <dc:creator />
      <dc:date>2014-05-22T14:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643580#M235789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/39177"&gt;Understanding Join, Keep and Concatenate&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643580#M235789</guid>
      <dc:creator />
      <dc:date>2014-05-22T14:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643581#M235790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No sorry cannot join the tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643581#M235790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643582#M235791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just duplicate the fields and use the field from the table you need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Vehicle.VINNumber as %VIN,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Vehicle.VINNumber as Table1.VIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from $(vQVDLOADPATH_Source1)Vehicle.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table 2:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Vehicle.VIN AS %VIN,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Vehicle.VINNumber as Table2.VIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;* FROM $(vQVDLOADPATH_Source2)Vehicle.QVD (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643582#M235791</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2014-05-22T15:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643583#M235792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it matter there are pages of data between these two tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Vehicle.VINNumber as %VIN,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Vehicle.VINNumber as Table1.VIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from $(vQVDLOADPATH_Source1)Vehicle.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buyer:&lt;/P&gt;&lt;P&gt;LOAD * FROM $(vQVDLOADPATH)Buyer.QVD (qvd);&lt;/P&gt;&lt;P&gt;SaleAgreement:&lt;/P&gt;&lt;P&gt;LOAD * FROM $(vQVDLOADPATH)SaleAgreement.QVD (qvd);&lt;/P&gt;&lt;P&gt;SaleChannel:&lt;/P&gt;&lt;P&gt;LOAD * FROM $(vQVDLOADPATH)SaleChannel.QVD (qvd);&lt;/P&gt;&lt;P&gt;SaleChannel_history:&lt;/P&gt;&lt;P&gt;LOAD * FROM $(vQVDLOADPATH)SaleChannel_history.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table 2:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Vehicle.VIN AS %VIN,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Vehicle.VINNumber as Table2.VIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;* FROM $(vQVDLOADPATH_Source2)Vehicle.QVD (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643583#M235792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T15:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643584#M235793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adil,&lt;/P&gt;&lt;P&gt;In your case why do you required table 1 if you just want unique record from table2?&lt;/P&gt;&lt;P&gt;2nd if want unique record from both table without joining you can use inner keep which will give 2 separate table with unique record in both.&lt;/P&gt;&lt;P&gt;or you want records from table 2 you can go for Jose solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran Kokade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643584#M235793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T15:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643585#M235794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 contains data from a different datasource and contains data needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i load this up all data is selected in the script i do not want to load 1,000,000 rows when i just need 52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643585#M235794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643586#M235795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any reason to load data from table 1 then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Kiran Kokade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643586#M235795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T15:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643587#M235796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't avoid to load all the records from table1 in the script if you don't use a WHERE condition at the SQL sentence. That is independent on what do you want to show in your dashboard after the loading script. You really need to use a join like Kiran sais above if you want to discard rows from table1, but initially you must load the rows...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables/m-p/643587#M235796</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2014-05-22T15:27:06Z</dc:date>
    </item>
  </channel>
</rss>

