<?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 the two tables in between two field values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527630#M693089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please find the attached application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Aug 2013 10:19:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-25T10:19:07Z</dc:date>
    <item>
      <title>Join the two tables in between two field values</title>
      <link>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527627#M693086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Folks, I am looking for solution how to join two tables in between field values.&lt;/P&gt;&lt;P&gt;TAB1:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 535px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="94"&gt;MARKETID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="136"&gt;END_TIME&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="140"&gt;START_TIME&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="101"&gt;VALUE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;11640&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;MPX26&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8/14/2013 5:16:27 PM&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8/14/2013 11:02:45 AM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;22477&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;11642&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;MPX26&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8/14/2013 2:14:11 AM&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8/14/2013 12:47:01 AM&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;5226&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB2:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="471"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="94"&gt;MARKETID&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="136"&gt;TIME&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="140"&gt;WONUMBER&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="101"&gt;USER&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;PX26&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8/14/2013 1:06:27 PM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;P035687&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;x-schanta&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;PX26&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8/14/2013 2:06:47 AM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;P034676&lt;/TD&gt;&lt;TD&gt;x-david&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want join these tables on &lt;STRONG&gt;MARKTID&lt;/STRONG&gt; and &lt;STRONG&gt;TIME&lt;/STRONG&gt; (TAB2) must be fall in b/n &lt;STRONG&gt;START_TIME&lt;/STRONG&gt; and &lt;STRONG&gt;END_TIME&lt;/STRONG&gt; (TAB1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 827px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="94"&gt;MARKETID&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="136"&gt;END_TIME&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="140"&gt;START_TIME&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="101"&gt;VALUE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="91"&gt;WONUMBER&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;USER&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="137"&gt;TIME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;11640&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;PX26&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8/14/2013 5:16:27 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8/14/2013 11:02:45 AM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;22477&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;P035687&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;x-schanta&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8/14/2013 1:06:27 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;11642&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;PX26&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8/14/2013 2:14:11 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8/14/2013 12:47:01 AM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5226&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;P034676&lt;/TD&gt;&lt;TD&gt;x-david&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;8/14/2013 2:06:47 AM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts, how to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 02:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527627#M693086</guid>
      <dc:creator />
      <dc:date>2013-08-25T02:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Join the two tables in between two field values</title>
      <link>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527628#M693087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TAB1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;ID,MARKETID,VALUE&lt;/P&gt;&lt;P&gt;11640,MPX26,22477&lt;/P&gt;&lt;P&gt;11642,MPX26,5226&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB11:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;load ID,right(MARKETID,len(MARKETID)-1) as MARKETID,VALUE &lt;/P&gt;&lt;P&gt;resident TAB1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table TAB1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB2:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;MARKETID,USER&lt;/P&gt;&lt;P&gt;PX26,P035687&lt;/P&gt;&lt;P&gt;PX26,P034676&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 04:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527628#M693087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-25T04:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join the two tables in between two field values</title>
      <link>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527629#M693088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in terms of user please left(USER,len(USER)-2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 04:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527629#M693088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-25T04:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join the two tables in between two field values</title>
      <link>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527630#M693089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please find the attached application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 10:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527630#M693089</guid>
      <dc:creator />
      <dc:date>2013-08-25T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Join the two tables in between two field values</title>
      <link>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527631#M693090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vikram. But I am working with very big tables.&lt;/P&gt;&lt;P&gt;Is there any way can I join in single load statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 11:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527631#M693090</guid>
      <dc:creator />
      <dc:date>2013-08-25T11:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Join the two tables in between two field values</title>
      <link>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527632#M693091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the intervalmatch function to match a value with an interval. See this blog post: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch" style="font-family: inherit; font-size: 12x; font-weight: bold; line-height: 1.5em; font-style: inherit; color: #3d3d3d; text-decoration: underline;"&gt;IntervalMatch&lt;/A&gt;, and the document referenced at the end: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4310"&gt;IntervalMatch and Slowly Changing Dimensions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Aug 2013 12:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-the-two-tables-in-between-two-field-values/m-p/527632#M693091</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-25T12:20:23Z</dc:date>
    </item>
  </channel>
</rss>

