<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/166298#M38287</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;in the following 2 tables, how can i get discount into Trans table? thanks a lot.&lt;/P&gt;&lt;P&gt;i tried to use intervalmatch but got stucked. there are tonned of data, so i didn't want to loop the start date til end date for each AddrNum, discount and then join back to Trans table.&lt;/P&gt;&lt;P&gt;any suggestion is very appreciated. thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trans:&lt;BR /&gt;load * inline [&lt;BR /&gt;AddrNum, price, date&lt;BR /&gt;A1001, 200, 1/20/2009&lt;BR /&gt;A1002, 150, 3/15/2009&lt;BR /&gt;A1002, 100, 2/5/2009&lt;BR /&gt;A1003, 150, 3/4/2009&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;SmallTrans:&lt;BR /&gt;load * inline [&lt;BR /&gt;AddrNum, discount, datestart, dateend&lt;BR /&gt;A1001, 0.05, 1/1/2009, 2/15/2009&lt;BR /&gt;A1001, 0.1, 2/16/2009, 3/31/2009&lt;BR /&gt;A1002, 0.05, 3/1/2009, 3/31/2009&lt;BR /&gt;A1002, 0.06, 4/1/2009, 4/15/2009&lt;BR /&gt;A1002, 0.07, 5/16/2009, 5/28/2009&lt;BR /&gt;A1003, 0.2, 1/1/2009, 1/15/2009&lt;BR /&gt;A1003, 0.3, 1/16/2009, 1/31/2009&lt;BR /&gt;A1003, 0.4, 2/1/2009, 2/28/2009&lt;BR /&gt;A1003, 0.5, 3/1/009, 3/20/2009&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2009 23:26:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-25T23:26:44Z</dc:date>
    <item>
      <title>intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/166298#M38287</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;in the following 2 tables, how can i get discount into Trans table? thanks a lot.&lt;/P&gt;&lt;P&gt;i tried to use intervalmatch but got stucked. there are tonned of data, so i didn't want to loop the start date til end date for each AddrNum, discount and then join back to Trans table.&lt;/P&gt;&lt;P&gt;any suggestion is very appreciated. thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trans:&lt;BR /&gt;load * inline [&lt;BR /&gt;AddrNum, price, date&lt;BR /&gt;A1001, 200, 1/20/2009&lt;BR /&gt;A1002, 150, 3/15/2009&lt;BR /&gt;A1002, 100, 2/5/2009&lt;BR /&gt;A1003, 150, 3/4/2009&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;SmallTrans:&lt;BR /&gt;load * inline [&lt;BR /&gt;AddrNum, discount, datestart, dateend&lt;BR /&gt;A1001, 0.05, 1/1/2009, 2/15/2009&lt;BR /&gt;A1001, 0.1, 2/16/2009, 3/31/2009&lt;BR /&gt;A1002, 0.05, 3/1/2009, 3/31/2009&lt;BR /&gt;A1002, 0.06, 4/1/2009, 4/15/2009&lt;BR /&gt;A1002, 0.07, 5/16/2009, 5/28/2009&lt;BR /&gt;A1003, 0.2, 1/1/2009, 1/15/2009&lt;BR /&gt;A1003, 0.3, 1/16/2009, 1/31/2009&lt;BR /&gt;A1003, 0.4, 2/1/2009, 2/28/2009&lt;BR /&gt;A1003, 0.5, 3/1/009, 3/20/2009&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 23:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/166298#M38287</guid>
      <dc:creator />
      <dc:date>2009-08-25T23:26:44Z</dc:date>
    </item>
    <item>
      <title>intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/166299#M38288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I made this test model, check if it works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C ya!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PD. maybe is the worst ever solution, buy it works &lt;IMG alt="Stick out tongue" src="http://community.qlik.com/emoticons/emotion-4.gif" /&gt;, and if anybody post a better solution I will learn it &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 02:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/166299#M38288</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2009-08-26T02:00:38Z</dc:date>
    </item>
    <item>
      <title>intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/166300#M38289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you go, using intervalmatch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 02:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/166300#M38289</guid>
      <dc:creator />
      <dc:date>2009-08-26T02:23:33Z</dc:date>
    </item>
  </channel>
</rss>

