<?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: Join in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912901#M986078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the IntervalMatch function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD ProductID, ProductName, PDate&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD ProductID, CustName, StartDate, EndDate&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch( PDate, ProductID)&lt;/P&gt;&lt;P&gt;LOAD distinct ProductID, StartDate, EndDate&lt;/P&gt;&lt;P&gt;Resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this blog post for more information: &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 06:02:02 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-08-06T06:02:02Z</dc:date>
    <item>
      <title>Join in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912899#M986076</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 have two tables like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ProductID&lt;/P&gt;&lt;P&gt;ProductName&lt;/P&gt;&lt;P&gt;PDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ProductID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;CustName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;StartDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;EndDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Now I want to join these two tables based on following condition&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if(Table1.ProductID = Table2.ProductID and Table1.PDate Between(Table2.StartDate,Table2.EndDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;How I implement this join condition in QlikView??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I am using personal edition so please share the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 05:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912899#M986076</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2015-08-06T05:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Join in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912900#M986077</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;If you want to join in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProductID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProductName,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Left Join(Table1)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;ProductID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;CustName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;StartDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;EndDate;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Based on ProductID both the table will be joined and the result will be in to one single table&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 06:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912900#M986077</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-08-06T06:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Join in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912901#M986078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the IntervalMatch function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD ProductID, ProductName, PDate&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD ProductID, CustName, StartDate, EndDate&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch( PDate, ProductID)&lt;/P&gt;&lt;P&gt;LOAD distinct ProductID, StartDate, EndDate&lt;/P&gt;&lt;P&gt;Resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this blog post for more information: &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 06:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912901#M986078</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-06T06:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Join in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912902#M986079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need interval match here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the below link to achieve the same using interval match&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/93656"&gt;https://community.qlik.com/thread/93656&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 06:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912902#M986079</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-06T06:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Join in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912903#M986080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an interval match like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Load source data&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; ProductID&lt;/P&gt;&lt;P&gt;&amp;nbsp; ProductName&lt;/P&gt;&lt;P&gt;&amp;nbsp; PDate&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; ProductID&lt;/P&gt;&lt;P&gt;&amp;nbsp; CustName&lt;/P&gt;&lt;P&gt;&amp;nbsp; StartDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; EndDate&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Match the PDate to the intervals in Table2&lt;/P&gt;&lt;P&gt;Join(Table1)&lt;/P&gt;&lt;P&gt;IntervalMatch(PDate, ProductID)&lt;/P&gt;&lt;P&gt;LOAD StartDate, EndDate, ProductID&lt;/P&gt;&lt;P&gt;Resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Collapse result to single table (add CustName to Table1)&lt;/P&gt;&lt;P&gt;Join(Table1)&lt;/P&gt;&lt;P&gt;LOAD * Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Not needed any more&lt;/P&gt;&lt;P&gt;DROP Table Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final result in&amp;nbsp; Table1 will be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ProductID&lt;/P&gt;&lt;P&gt;ProductName&lt;/P&gt;&lt;P&gt;PDate&lt;/P&gt;&lt;P&gt;CustName&lt;/P&gt;&lt;P&gt;StartDate&lt;/P&gt;&lt;P&gt;EndDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 06:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-in-QlikView/m-p/912903#M986080</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-06T06:09:45Z</dc:date>
    </item>
  </channel>
</rss>

