<?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 Extended Interval Match in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extended-Interval-Match/m-p/183000#M48413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other keyfield has to have the same name in the intervalmatch. In your case the field in both tables should be LocalCurrency. View the example code below:&lt;/P&gt;&lt;P&gt;//Currency Rate Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CurrencyRates:&lt;/P&gt;&lt;P&gt;LOAD CurrencyFromDate,&lt;/P&gt;&lt;P&gt;CurrencyRate,&lt;/P&gt;&lt;P&gt;CurrencyRateDate,&lt;/P&gt;&lt;P&gt;CurrencyToDate,&lt;/P&gt;&lt;P&gt;FromCurrencyCode,&lt;/P&gt;&lt;P&gt;ToCurrencyCode,&lt;/P&gt;&lt;P&gt;ToCurrencyCode as LocalCurrency ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM CurrencyRates;&lt;/P&gt;&lt;P&gt;INTERVALMATCH (CurrencyDate, [LocalCurrency]) load CurrencyFromDate, CurrencyToDate, LocalCurrency&lt;/P&gt;&lt;P&gt;Resident CurrencyRates;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 19:04:28 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2010-11-11T19:04:28Z</dc:date>
    <item>
      <title>Extended Interval Match</title>
      <link>https://community.qlik.com/t5/QlikView/Extended-Interval-Match/m-p/182999#M48412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run an extended IntervalMatch and am having some problems (I'm on V9).&lt;/P&gt;&lt;P&gt;I have data in a currency table which has a Currency Code, CurrencyTodate, a CurrencyFromDate and a CurrencyRate. I need to link this to an order table by both date and also by CurrencyCode, to ensure that I have a table that references the correct date range to give me the right rate for the date in which the order falls between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran this for Interval match, but obviously it didn't link the CurrencyCode's from the Order and Currency tables, although it did help with the date range. When I use Extended Interval match, then I get no link at all ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone got any ideas? I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;___________________________________&lt;/P&gt;&lt;P&gt;//Currency Rate Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CurrencyRates:&lt;/P&gt;&lt;P&gt;LOAD CurrencyFromDate,&lt;/P&gt;&lt;P&gt;CurrencyRate,&lt;/P&gt;&lt;P&gt;CurrencyRateDate,&lt;/P&gt;&lt;P&gt;CurrencyToDate,&lt;/P&gt;&lt;P&gt;FromCurrencyCode,&lt;/P&gt;&lt;P&gt;ToCurrencyCode;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM CurrencyRates;&lt;/P&gt;&lt;P&gt;INTERVALMATCH (CurrencyDate, [LocalCurrency]) load CurrencyFromDate, CurrencyToDate, ToCurrencyCode&lt;/P&gt;&lt;P&gt;Resident CurrencyRates;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;___________________________________&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried the following and that doesn't work either:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;___________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;CurrencyRates:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CurrencyFromDate,&lt;/P&gt;&lt;P&gt;CurrencyRate,&lt;/P&gt;&lt;P&gt;CurrencyRateDate,&lt;/P&gt;&lt;P&gt;CurrencyToDate,&lt;/P&gt;&lt;P&gt;FromCurrencyCode,&lt;/P&gt;&lt;P&gt;ToCurrencyCode;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM CurrencyRates;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join INTERVALMATCH (CurrencyDate, [LocalCurrency]) load CurrencyFromDate, CurrencyToDate, ToCurrencyCode&lt;/P&gt;&lt;P&gt;Resident CurrencyRates;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 15:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extended-Interval-Match/m-p/182999#M48412</guid>
      <dc:creator>Julie_Main</dc:creator>
      <dc:date>2010-11-11T15:51:07Z</dc:date>
    </item>
    <item>
      <title>Extended Interval Match</title>
      <link>https://community.qlik.com/t5/QlikView/Extended-Interval-Match/m-p/183000#M48413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other keyfield has to have the same name in the intervalmatch. In your case the field in both tables should be LocalCurrency. View the example code below:&lt;/P&gt;&lt;P&gt;//Currency Rate Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CurrencyRates:&lt;/P&gt;&lt;P&gt;LOAD CurrencyFromDate,&lt;/P&gt;&lt;P&gt;CurrencyRate,&lt;/P&gt;&lt;P&gt;CurrencyRateDate,&lt;/P&gt;&lt;P&gt;CurrencyToDate,&lt;/P&gt;&lt;P&gt;FromCurrencyCode,&lt;/P&gt;&lt;P&gt;ToCurrencyCode,&lt;/P&gt;&lt;P&gt;ToCurrencyCode as LocalCurrency ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM CurrencyRates;&lt;/P&gt;&lt;P&gt;INTERVALMATCH (CurrencyDate, [LocalCurrency]) load CurrencyFromDate, CurrencyToDate, LocalCurrency&lt;/P&gt;&lt;P&gt;Resident CurrencyRates;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 19:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extended-Interval-Match/m-p/183000#M48413</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-11-11T19:04:28Z</dc:date>
    </item>
  </channel>
</rss>

