<?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 IntervalMatch Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IntervalMatch-Question/m-p/269343#M499109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been dealing with a difficult IntervalMatch issue regarding a large set of records returned.&amp;nbsp; I will try to explain the best I can.&amp;nbsp; I have created a RESIDENT table called &lt;STRONG&gt;RateMaster &lt;/STRONG&gt;that contains a daily record for each "Prime Rate" ie...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RateMaster&lt;/P&gt;&lt;P&gt;Date, Index, Rate&lt;/P&gt;&lt;P&gt;2011/01/01, RB, 2.25&lt;/P&gt;&lt;P&gt;2011/01/02, RB, 2.25&lt;/P&gt;&lt;P&gt;2011/01/03, RB, 2.25&lt;/P&gt;&lt;P&gt;2011/01/04, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/05, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/06, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/07, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/08, RB, 2.50&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;2011/02/01, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/02, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/03, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/04, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/05, RB, 2.50&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Loan record that has a start and end date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LoanMaster&lt;/P&gt;&lt;P&gt;Loan, StartDate, EndDate&lt;/P&gt;&lt;P&gt;123456, 2011/01/03, 2011/02/02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using IntervalMatch to join all the interval dates between startdate and enddate ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (RateMaster)&lt;/P&gt;&lt;P&gt;IntervalMatch(Date) LOAD StartDate, EndDate RESIDENT LoanMaster;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works, accept the speed at which this works.&amp;nbsp; My goal is to calculate an average primerate between startdate and enddate for each loan in LoanMaster.&amp;nbsp; I get 31 million plus rows and it takes like 30 mins to load.&amp;nbsp; I am looking for advice on how to do this more effeciently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample.qvw the tabs that I need help with are PrimeRate and AvgPrimeRate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 14:04:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-07T14:04:25Z</dc:date>
    <item>
      <title>IntervalMatch Question</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-Question/m-p/269343#M499109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been dealing with a difficult IntervalMatch issue regarding a large set of records returned.&amp;nbsp; I will try to explain the best I can.&amp;nbsp; I have created a RESIDENT table called &lt;STRONG&gt;RateMaster &lt;/STRONG&gt;that contains a daily record for each "Prime Rate" ie...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RateMaster&lt;/P&gt;&lt;P&gt;Date, Index, Rate&lt;/P&gt;&lt;P&gt;2011/01/01, RB, 2.25&lt;/P&gt;&lt;P&gt;2011/01/02, RB, 2.25&lt;/P&gt;&lt;P&gt;2011/01/03, RB, 2.25&lt;/P&gt;&lt;P&gt;2011/01/04, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/05, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/06, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/07, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/01/08, RB, 2.50&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;2011/02/01, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/02, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/03, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/04, RB, 2.50&lt;/P&gt;&lt;P&gt;2011/02/05, RB, 2.50&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Loan record that has a start and end date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LoanMaster&lt;/P&gt;&lt;P&gt;Loan, StartDate, EndDate&lt;/P&gt;&lt;P&gt;123456, 2011/01/03, 2011/02/02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using IntervalMatch to join all the interval dates between startdate and enddate ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (RateMaster)&lt;/P&gt;&lt;P&gt;IntervalMatch(Date) LOAD StartDate, EndDate RESIDENT LoanMaster;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works, accept the speed at which this works.&amp;nbsp; My goal is to calculate an average primerate between startdate and enddate for each loan in LoanMaster.&amp;nbsp; I get 31 million plus rows and it takes like 30 mins to load.&amp;nbsp; I am looking for advice on how to do this more effeciently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample.qvw the tabs that I need help with are PrimeRate and AvgPrimeRate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 14:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-Question/m-p/269343#M499109</guid>
      <dc:creator />
      <dc:date>2011-06-07T14:04:25Z</dc:date>
    </item>
    <item>
      <title>IntervalMatch Question</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-Question/m-p/269344#M499110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have just seen your application and I can say your code looks fine. However, I think your reload time can be improved by splitting your development into two layers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-First, create a qvw to extract the data from sources and store it, into qvds.&lt;/P&gt;&lt;P&gt;-Second, create a qvw to load your qvds and do all needed transformations to complete your data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, you will avoid extracting information from the datasources on each application reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 15:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-Question/m-p/269344#M499110</guid>
      <dc:creator />
      <dc:date>2011-06-07T15:26:40Z</dc:date>
    </item>
    <item>
      <title>IntervalMatch Question</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-Question/m-p/269345#M499111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank-you for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to resolve my issue by changing the LEFT JOIN just before the IntervalMatch to an INNER JOIN...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I truly wish there was a better way to do RANGE joins...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 16:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-Question/m-p/269345#M499111</guid>
      <dc:creator />
      <dc:date>2011-06-07T16:13:15Z</dc:date>
    </item>
  </channel>
</rss>

