<?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 Join two tables in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-two-tables-in-script/m-p/1280904#M623396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting strange issue while joining two tables in script. There are not all fields common in both the tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is status field in Table 1 and there is transactiontype field in table 2. After join I should get single row like below -&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Transaction Key&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Status&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;TransactionType&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;InForce&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting two rows in qlikview (see attached image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL Database I am getting single row while doing join on transaction key. How to get same output in Qlikview ?? Please help me with Join Syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2016 09:12:54 GMT</pubDate>
    <dc:creator>nehasaxena</dc:creator>
    <dc:date>2016-12-19T09:12:54Z</dc:date>
    <item>
      <title>Join two tables in script</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-in-script/m-p/1280904#M623396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting strange issue while joining two tables in script. There are not all fields common in both the tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is status field in Table 1 and there is transactiontype field in table 2. After join I should get single row like below -&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Transaction Key&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Status&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;TransactionType&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;InForce&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting two rows in qlikview (see attached image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL Database I am getting single row while doing join on transaction key. How to get same output in Qlikview ?? Please help me with Join Syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 09:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-in-script/m-p/1280904#M623396</guid>
      <dc:creator>nehasaxena</dc:creator>
      <dc:date>2016-12-19T09:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables in script</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-in-script/m-p/1280905#M623397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post your script please, this is definitely joining on more than one field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 09:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-in-script/m-p/1280905#M623397</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-19T09:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables in script</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-in-script/m-p/1280906#M623398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share sample data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mean while use below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Left Keep&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;or&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Inner Join&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can get your expected values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 09:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-in-script/m-p/1280906#M623398</guid>
      <dc:creator />
      <dc:date>2016-12-19T09:25:50Z</dc:date>
    </item>
  </channel>
</rss>

