<?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 Receive 'ErrorCode.4004' in connection with INTERVALMATCH in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Receive-ErrorCode-4004-in-connection-with-INTERVALMATCH/m-p/2473727#M99929</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to assign a date (only one line in the calendar) to a period (approx. 400,000 lines) with the following statement:&lt;/P&gt;
&lt;P&gt;LEFT JOIN ( MyDataTable ) INTERVALMATCH ( Date ) LOAD&lt;BR /&gt;DateFrom,&lt;BR /&gt;DateTo&lt;BR /&gt;RESIDENT MyDataTable;&lt;/P&gt;
&lt;P&gt;and get the error message 'ErrorCode.4004' (not more).&lt;/P&gt;
&lt;P&gt;Any idea and solution about this?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Christian&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 09:48:33 GMT</pubDate>
    <dc:creator>Christiann</dc:creator>
    <dc:date>2024-07-30T09:48:33Z</dc:date>
    <item>
      <title>Receive 'ErrorCode.4004' in connection with INTERVALMATCH</title>
      <link>https://community.qlik.com/t5/App-Development/Receive-ErrorCode-4004-in-connection-with-INTERVALMATCH/m-p/2473727#M99929</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to assign a date (only one line in the calendar) to a period (approx. 400,000 lines) with the following statement:&lt;/P&gt;
&lt;P&gt;LEFT JOIN ( MyDataTable ) INTERVALMATCH ( Date ) LOAD&lt;BR /&gt;DateFrom,&lt;BR /&gt;DateTo&lt;BR /&gt;RESIDENT MyDataTable;&lt;/P&gt;
&lt;P&gt;and get the error message 'ErrorCode.4004' (not more).&lt;/P&gt;
&lt;P&gt;Any idea and solution about this?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 09:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Receive-ErrorCode-4004-in-connection-with-INTERVALMATCH/m-p/2473727#M99929</guid>
      <dc:creator>Christiann</dc:creator>
      <dc:date>2024-07-30T09:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Receive 'ErrorCode.4004' in connection with INTERVALMATCH</title>
      <link>https://community.qlik.com/t5/App-Development/Receive-ErrorCode-4004-in-connection-with-INTERVALMATCH/m-p/2473989#M99963</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No information here unfortunately:&amp;nbsp;&lt;A href="https://qlik.dev/apis/json-rpc/qix/errors/" target="_blank"&gt;https://qlik.dev/apis/json-rpc/qix/errors/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can you provide Engine logs if you are in Qlik Sense Client-Managed ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 13:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Receive-ErrorCode-4004-in-connection-with-INTERVALMATCH/m-p/2473989#M99963</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-07-31T13:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Receive 'ErrorCode.4004' in connection with INTERVALMATCH</title>
      <link>https://community.qlik.com/t5/App-Development/Receive-ErrorCode-4004-in-connection-with-INTERVALMATCH/m-p/2480773#M100738</link>
      <description>&lt;P&gt;I also had this issue with a large dataset (~8 million rows) while attempting an interval match. I reduced the data down to 1 million rows and instead got this error:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Out of object memory
The request exceeds the memory limit.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I instead used the following solution instead of IntervalMatch:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;left join (Vacation)
load StartDate
 ,EndDate
 ,autonumber(StartDate &amp;amp; '-' &amp;amp; EndDate) as DateRangeId
resident Vacation;

VacationToDate:
load distinct
 DateRangeId,
 StartDate + IterNo() - 1 as Date
resident Vacation
while StartDate + IterNo() - 1 &amp;lt;= EndDate;&lt;/LI-CODE&gt;
&lt;P&gt;Thanks to this post:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Avoiding-a-gigantic-intervalmatch/td-p/164252" target="_blank"&gt;Avoiding a gigantic intervalmatch - Qlik Community - 164252&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Receive-ErrorCode-4004-in-connection-with-INTERVALMATCH/m-p/2480773#M100738</guid>
      <dc:creator>Liam-Grant</dc:creator>
      <dc:date>2024-09-10T15:48:19Z</dc:date>
    </item>
  </channel>
</rss>

