<?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: How to join 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-join-2-tables/m-p/1017625#M934818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an IntervalMatch: See &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 13:21:48 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2016-02-24T13:21:48Z</dc:date>
    <item>
      <title>How to join 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-join-2-tables/m-p/1017624#M934817</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 have the below join situation in SQL Server and works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, how can I create the join in Bold with QV? I can create the #Raw and #Stats within QV and the common fields&amp;nbsp; BusinessDateand &amp;amp; sUser will create the join I need but how can I create the third join&amp;nbsp; &lt;STRONG&gt;r.id BETWEEN s.StartID AND s.FinishID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from #Raw R&lt;/P&gt;&lt;P&gt;LEFT join #Stats as S&lt;/P&gt;&lt;P&gt;on R.BusinessDate= S.BusinessDate&lt;/P&gt;&lt;P&gt;and R.sUser = S.sUser&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AND r.id BETWEEN s.StartID AND s.FinishID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe, I could load the data into another dataset within the Script&amp;nbsp; but that leaves me with only 1 table effectively, I would like to have 2 and have the join between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for any answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 12:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-join-2-tables/m-p/1017624#M934817</guid>
      <dc:creator />
      <dc:date>2016-02-24T12:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to join 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-join-2-tables/m-p/1017625#M934818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an IntervalMatch: See &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 13:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-join-2-tables/m-p/1017625#M934818</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2016-02-24T13:21:48Z</dc:date>
    </item>
  </channel>
</rss>

