<?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 Duplicate Records using JOIN in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Duplicate-Records-using-JOIN/m-p/551067#M1145487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know if this query can be used in in a LOAD statement?&amp;nbsp; I'm trying to JOIN to tables and need to only pull the top record so there are no duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM your_table&lt;/P&gt;&lt;P&gt; INNER&lt;/P&gt;&lt;P&gt;&amp;nbsp; JOIN (&lt;/P&gt;&lt;P&gt;&amp;nbsp; SELECT your&lt;/P&gt;&lt;P&gt;&amp;nbsp; , fields&lt;/P&gt;&lt;P&gt;&amp;nbsp; , Row_Number() OVER (PARTITION BY SessionStartTime ORDER BY ChTimestamp ASC) As row_num&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM your_table&lt;/P&gt;&lt;P&gt;&amp;nbsp; ) As x&lt;/P&gt;&lt;P&gt;WHERE x.row_num = 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 21:09:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-01T21:09:05Z</dc:date>
    <item>
      <title>Duplicate Records using JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Records-using-JOIN/m-p/551067#M1145487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know if this query can be used in in a LOAD statement?&amp;nbsp; I'm trying to JOIN to tables and need to only pull the top record so there are no duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM your_table&lt;/P&gt;&lt;P&gt; INNER&lt;/P&gt;&lt;P&gt;&amp;nbsp; JOIN (&lt;/P&gt;&lt;P&gt;&amp;nbsp; SELECT your&lt;/P&gt;&lt;P&gt;&amp;nbsp; , fields&lt;/P&gt;&lt;P&gt;&amp;nbsp; , Row_Number() OVER (PARTITION BY SessionStartTime ORDER BY ChTimestamp ASC) As row_num&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM your_table&lt;/P&gt;&lt;P&gt;&amp;nbsp; ) As x&lt;/P&gt;&lt;P&gt;WHERE x.row_num = 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 21:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Records-using-JOIN/m-p/551067#M1145487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-01T21:09:05Z</dc:date>
    </item>
  </channel>
</rss>

