<?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 Interval Match problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-Match-problem/m-p/148783#M27023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I've tried asking this question before but got no answer as yet. I've tried to make the problem more structured by an example. Maybe easier to look at for an outsider? I hope somebody has any suggestions!&lt;/P&gt;&lt;P&gt;The example below does in simple form what I want my code to do for larger tables: it links three tables based on a date from the first table which lies within a interval matched with the two other tables. It joins them all togethere to 1 table.&lt;/P&gt;&lt;P&gt;When I try this out on the real data, the code is crashing and giving: too low on virtual memory.&lt;/P&gt;&lt;P&gt;Any suggestions on how to work around this?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;Gjalt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DBC:&lt;BR /&gt;LOAD DBC,&lt;BR /&gt; Begindatum as BegindatumDBC,&lt;BR /&gt; wat&lt;BR /&gt;FROM&lt;BR /&gt;DATA.xlsx (ooxml, embedded labels, table is DBC);&lt;/P&gt;&lt;P&gt;EK:&lt;BR /&gt;LOAD DBC,&lt;BR /&gt; DeclaCode,&lt;BR /&gt; Begindatum as BegindatumEK,&lt;BR /&gt; Einddatum as EinddatumEK&lt;BR /&gt;FROM&lt;BR /&gt;DATA.xlsx (ooxml, embedded labels, table is EK);&lt;/P&gt;&lt;P&gt;right JOIN (DBC) IntervalMatch (BegindatumDBC) Load BegindatumEK, EinddatumEK RESIDENT EK;&lt;BR /&gt;right JOIN (DBC) LOAD DISTINCT * RESIDENT EK;&lt;BR /&gt;DROP TABLE EK;&lt;/P&gt;&lt;P&gt;Tarief:&lt;BR /&gt;LOAD DeclaCode,&lt;BR /&gt; Tarief,&lt;BR /&gt; Begindatum as BegindatumTarief,&lt;BR /&gt; Einddatum as EinddatumTarief&lt;BR /&gt;FROM&lt;BR /&gt;DATA.xlsx (ooxml, embedded labels, table is Tarief);&lt;/P&gt;&lt;P&gt;right JOIN (DBC) IntervalMatch (BegindatumDBC) Load BegindatumTarief, EinddatumTarief resident Tarief;&lt;BR /&gt;right JOIN (DBC) LOAD DISTINCT * RESIDENT Tarief;&lt;BR /&gt;DROP TABLE Tarief;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2009 18:51:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-08T18:51:54Z</dc:date>
    <item>
      <title>Interval Match problem</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-problem/m-p/148783#M27023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I've tried asking this question before but got no answer as yet. I've tried to make the problem more structured by an example. Maybe easier to look at for an outsider? I hope somebody has any suggestions!&lt;/P&gt;&lt;P&gt;The example below does in simple form what I want my code to do for larger tables: it links three tables based on a date from the first table which lies within a interval matched with the two other tables. It joins them all togethere to 1 table.&lt;/P&gt;&lt;P&gt;When I try this out on the real data, the code is crashing and giving: too low on virtual memory.&lt;/P&gt;&lt;P&gt;Any suggestions on how to work around this?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;Gjalt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DBC:&lt;BR /&gt;LOAD DBC,&lt;BR /&gt; Begindatum as BegindatumDBC,&lt;BR /&gt; wat&lt;BR /&gt;FROM&lt;BR /&gt;DATA.xlsx (ooxml, embedded labels, table is DBC);&lt;/P&gt;&lt;P&gt;EK:&lt;BR /&gt;LOAD DBC,&lt;BR /&gt; DeclaCode,&lt;BR /&gt; Begindatum as BegindatumEK,&lt;BR /&gt; Einddatum as EinddatumEK&lt;BR /&gt;FROM&lt;BR /&gt;DATA.xlsx (ooxml, embedded labels, table is EK);&lt;/P&gt;&lt;P&gt;right JOIN (DBC) IntervalMatch (BegindatumDBC) Load BegindatumEK, EinddatumEK RESIDENT EK;&lt;BR /&gt;right JOIN (DBC) LOAD DISTINCT * RESIDENT EK;&lt;BR /&gt;DROP TABLE EK;&lt;/P&gt;&lt;P&gt;Tarief:&lt;BR /&gt;LOAD DeclaCode,&lt;BR /&gt; Tarief,&lt;BR /&gt; Begindatum as BegindatumTarief,&lt;BR /&gt; Einddatum as EinddatumTarief&lt;BR /&gt;FROM&lt;BR /&gt;DATA.xlsx (ooxml, embedded labels, table is Tarief);&lt;/P&gt;&lt;P&gt;right JOIN (DBC) IntervalMatch (BegindatumDBC) Load BegindatumTarief, EinddatumTarief resident Tarief;&lt;BR /&gt;right JOIN (DBC) LOAD DISTINCT * RESIDENT Tarief;&lt;BR /&gt;DROP TABLE Tarief;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 18:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-problem/m-p/148783#M27023</guid>
      <dc:creator />
      <dc:date>2009-07-08T18:51:54Z</dc:date>
    </item>
  </channel>
</rss>

