<?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: Table join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-join/m-p/446205#M166466</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 tried with load distinct but still i am getting&amp;nbsp; same number of record .I just wants to apply&amp;nbsp; this SQL script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;join loc on (LocCd=TdFrRmLoc or LocCd=TdtoRmLoc)&lt;/STRONG&gt;&amp;nbsp; in Qlikview script .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikas Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 09:15:55 GMT</pubDate>
    <dc:creator>vikasgupta</dc:creator>
    <dc:date>2012-12-18T09:15:55Z</dc:date>
    <item>
      <title>Table join</title>
      <link>https://community.qlik.com/t5/QlikView/Table-join/m-p/446203#M166464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; we wants to join Loc Master to transaction table table name is &lt;STRONG&gt;Loc &lt;/STRONG&gt;and &lt;STRONG&gt;Txnd&lt;/STRONG&gt; we required two field from loc master&lt;STRONG&gt; LocCd (location code) &lt;/STRONG&gt;and&lt;STRONG&gt; ( location Type) LocTyp&lt;/STRONG&gt; and Loc master is already join in our data model so we are doing Left join of required field .&lt;STRONG&gt; &lt;/STRONG&gt;Our SQL expression is the following:-&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; join loc on (LocCd=TdFrRmLoc or LocCd=TdtoRmLoc)&lt;/STRONG&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG&gt;We are using following QlikView script :-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join &lt;BR /&gt;load &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LocCd As TdFrRmLoc,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LocTyp as&amp;nbsp; TdFrLocTyp&lt;BR /&gt;FROM&lt;BR /&gt;[..\QVD\LocationMaster.Qvd]&lt;BR /&gt;(qvd); &lt;BR /&gt;&lt;BR /&gt;Left&amp;nbsp; Join &lt;BR /&gt;load &lt;BR /&gt;&amp;nbsp;&amp;nbsp; LocCd As TdToRmLoc,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; LocTyp as&amp;nbsp; TdToLocTyp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;BR /&gt;[..\QVD\LocationMaster.Qvd]&lt;BR /&gt;(qvd); &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; We run SQL script&lt;STRONG&gt; join loc on (LocCd=TdFrRmLoc or LocCd=TdtoRmLoc) in SQL server we are getting&amp;nbsp; 2222624 records &lt;/STRONG&gt;in Qlikview we are getting &lt;STRONG&gt;2659256 records. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The original&amp;nbsp; no. of records in TXND table is 2659256 and in Loc master 63 records .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikas Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 08:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-join/m-p/446203#M166464</guid>
      <dc:creator>vikasgupta</dc:creator>
      <dc:date>2012-12-18T08:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table join</title>
      <link>https://community.qlik.com/t5/QlikView/Table-join/m-p/446204#M166465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with LOAD DISTINCT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 08:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-join/m-p/446204#M166465</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-18T08:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table join</title>
      <link>https://community.qlik.com/t5/QlikView/Table-join/m-p/446205#M166466</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 tried with load distinct but still i am getting&amp;nbsp; same number of record .I just wants to apply&amp;nbsp; this SQL script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;join loc on (LocCd=TdFrRmLoc or LocCd=TdtoRmLoc)&lt;/STRONG&gt;&amp;nbsp; in Qlikview script .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikas Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 09:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-join/m-p/446205#M166466</guid>
      <dc:creator>vikasgupta</dc:creator>
      <dc:date>2012-12-18T09:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table join</title>
      <link>https://community.qlik.com/t5/QlikView/Table-join/m-p/446206#M166467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vikas ,&lt;/P&gt;&lt;P&gt;we do not join like sql ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes if you want to join two tables on basis of TdtoRmloc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (table1)&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; &lt;/P&gt;&lt;P&gt;TdtoRmloc&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But yes note that Table one and Table2 should have only&amp;nbsp; TdtoRmloc as coomman field nothing else...&lt;/P&gt;&lt;P&gt;If there are some comman fields RENAME them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 09:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-join/m-p/446206#M166467</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-18T09:35:57Z</dc:date>
    </item>
  </channel>
</rss>

