<?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 Re: Should I use Intervalmatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135438#M372735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another doubt...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthTimeKey is a month right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let´s get the &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;201601 month.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;What if the store opened on Jan/05th and closed Jan/10th? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;It must counted as opened or not-opened?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2016 12:51:05 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-08-05T12:51:05Z</dc:date>
    <item>
      <title>Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135433#M372730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with three fields.&amp;nbsp; Store #, open date, and close date.&amp;nbsp; I have another table with dates.&amp;nbsp; Dates are in the format 201601, 201602, etc...&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a column in the first table that indicates if the store is open or closed, for all of the open and close dates in the other table.&amp;nbsp; They can have records after they've closed, so new records indicating the store is closed will not be necessary.&amp;nbsp; I've been reading up on Intervalmatch, but never used it and not sure how to apply it.&amp;nbsp; If it is, how should I apply it?&amp;nbsp; If not, is there a better method??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 01:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135433#M372730</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-08-05T01:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135434#M372731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IntervalMatch can be used or you can use While statement to create a single date from open and close date. Both options are resource extensive, but can work in this situation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 01:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135434#M372731</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-05T01:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135435#M372732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use IntervalMatch&lt;/P&gt;&lt;P&gt;I´ve created a script, so you can study a possible technique&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1470362657693351 jive_text_macro" jivemacro_uid="_1470362657693351"&gt;
&lt;P&gt;OpeningGrid: // Generating a list of stores with open/close dates&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Store,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; OpenDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date(OpenDate + Floor(Rand()*10)) as CloseDate;&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Pick(1+Mod(RecNo(),3),'A','B','C') as Store,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date(Floor(Today() - Rand()*100)) as OpenDate&lt;/P&gt;
&lt;P&gt;AutoGenerate 50;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;OtherTable: // your "another table"&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Pick(1+Mod(RecNo(),3),'A','B','C') as Store,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date(Floor(Today() - Rand()*100)) as Date&lt;/P&gt;
&lt;P&gt;AutoGenerate 50;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join(OtherTable) IntervalMatch(Date,Store) // Date is related to which Open/Close Date?&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; OpenDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CloseDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Store&lt;/P&gt;
&lt;P&gt;Resident OpeningGrid;&lt;/P&gt;
&lt;P&gt;Drop Table OpeningGrid;&lt;/P&gt;
&lt;P&gt;Left Join(OtherTable) // Calculating a flag to know if the store was open&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Store,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If(IsNull(OpenDate),'N','Y') as [Flag Open]&lt;/P&gt;
&lt;P&gt;Resident OtherTable;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 02:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135435#M372732</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-05T02:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135436#M372733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny and Clever, I really appreciate your assistance.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clever, thank you for the script - I'm just not sure how to use it with my resident tables.&amp;nbsp; Upon further inspection, I think my scenario description is different.&amp;nbsp; I have a Fact table and a Store table.&amp;nbsp; Joined by ID.&amp;nbsp; The Fact table has MonthTimeKey (201601, 201602, etc...) for the transaction date.&amp;nbsp; The Store table has OpenDate and CloseDate.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create a column in the Fact table that indicates if the store was open or closed at the time of the transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(MonthTimeKey &amp;gt;= OpenDate and &lt;/SPAN&gt;Len(CloseDate) &amp;lt; 1, 'Open', if(MonthTimeKey &amp;gt;= OpenDate and MonthTimeKey &amp;lt;= CloseDate,'Open','Closed')) as StoreStatus&amp;nbsp; //If a close date is not present, the store is currently open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I really appreciate your help.&amp;nbsp; My apologies for the inaccurate description.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 12:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135436#M372733</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-08-05T12:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135437#M372734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample of your app?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 12:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135437#M372734</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-05T12:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135438#M372735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another doubt...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthTimeKey is a month right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let´s get the &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;201601 month.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;What if the store opened on Jan/05th and closed Jan/10th? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;It must counted as opened or not-opened?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 12:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135438#M372735</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-05T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135439#M372736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clever, thank you.&amp;nbsp; The app is loaded via Binary with many tables, so it would be quite a chore to make it a manageable size.&amp;nbsp; So, I created an app that I think represents the issue(s) I'm having.&amp;nbsp; It is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objective: Using the MonthTimeKey of the transaction in the Store table, list in a column if the Store was Open or Closed during the month of the transaction.&amp;nbsp; The Date table lists Stores and their Open/Closed dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135439#M372736</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-08-05T13:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135440#M372737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this after at the end of your script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14704053043505462" jivemacro_uid="_14704053043505462" modifiedtitle="true"&gt;
&lt;P&gt;NewDate:&lt;/P&gt;
&lt;P&gt;NoConcatenate LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Store#,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; OpenDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Alt(CloseDate,Year(Today())*100+Month(Today())) as CloseDate&lt;/P&gt;
&lt;P&gt;Resident Date;&lt;/P&gt;
&lt;P&gt;Drop Table Date;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join(Store) IntervalMatch(MonthTimeKey,Store#) // Date is related to which Open/Close Date? &lt;/P&gt;
&lt;P&gt;LOAD &lt;/P&gt;
&lt;P&gt;&amp;nbsp; OpenDate, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; CloseDate, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Store# &lt;/P&gt;
&lt;P&gt;Resident NewDate;&lt;/P&gt;
&lt;P&gt;Drop Table NewDate;&lt;/P&gt;
&lt;P&gt; Left Join(Store) // Calculating a flag to know if the store was open &lt;/P&gt;
&lt;P&gt;Load &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Store#, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; MonthTimeKey, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; If(IsNull(OpenDate),'N','Y') as [Flag Open] &lt;/P&gt;
&lt;P&gt;Resident Store; &lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135440#M372737</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-05T13:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135441#M372738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clever, to answer your question.&amp;nbsp; If a store opened on 1/5 and closed on 1/10...it would be considered as Open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, to the script.&amp;nbsp; The example works perfect, but I can't get it to work in my test app.&amp;nbsp; Here is the script I'm using (w/TestFieldNames).&amp;nbsp; I'm getting an error saying that OpenDateYrMth can't be found (in the Flag Open expression).&amp;nbsp; I can't figure out why...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewDate: &lt;/P&gt;&lt;P&gt;NoConcatenate LOAD &lt;/P&gt;&lt;P&gt;AgtID, &lt;/P&gt;&lt;P&gt;OpenDateYrMth, &lt;/P&gt;&lt;P&gt;CloseDateYrMth &lt;/P&gt;&lt;P&gt;Resident AgentLookup; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Data) IntervalMatch(MonthTimeKey,AgtID) // Date is related to which Open/Close Date? &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;AgtID, &lt;/P&gt;&lt;P&gt;OpenDateYrMth, &lt;/P&gt;&lt;P&gt;CloseDateYrMth &lt;/P&gt;&lt;P&gt;Resident NewDate; &lt;/P&gt;&lt;P&gt;Drop Table NewDate; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Data) // Calculating a flag to know if the store was open &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;AgtID, &lt;/P&gt;&lt;P&gt;MonthTimeKey, &lt;/P&gt;&lt;P&gt;If(IsNull(OpenDateYrMth),'N','Y') as [Flag Open] &lt;/P&gt;&lt;P&gt;Resident Data; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 20:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135441#M372738</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-08-05T20:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135442#M372739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you got the order of AgtID wrong in the intervalMatch load. AgtID cannot come before the two dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Left Join (Data) IntervalMatch(MonthTimeKey,AgtID) // Date is related to which Open/Close Date?&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD OpenDateYrMth,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CloseDateYrMth&lt;SPAN style="color: #ff0000;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AgtID&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident NewDate;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 20:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135442#M372739</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-05T20:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135443#M372740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Left Join (Data) IntervalMatch(MonthTimeKey,AgtID) // Date is related to which Open/Close Date?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;OpenDateYrMth,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;CloseDateYrMth,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;AgtID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Resident NewDate;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 20:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135443#M372740</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-05T20:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135444#M372741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny and Clever.&amp;nbsp; That did the trick - no more error!&amp;nbsp; I spent a couple of hours troubleshooting it, only to find out it was the order of the fields.&amp;nbsp; I reckon &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So now it doesn't produce any errors, but it never finishes loading.&amp;nbsp; I'm loading a little more than 22-million records. All of the data loads in 00:01:21, then it just hangs.&amp;nbsp; Memory on the server steadily increases.&amp;nbsp; It just climbed to ~90gb, so I killed the process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I thought interval match would be the most efficient approach from a system resource perspective.&amp;nbsp; Could the increased resource usage be due to how I have it integrated into my model?&amp;nbsp; Should I try a different method?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 23:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135444#M372741</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-08-05T23:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135445#M372742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you not join the Interval Match table? As per HIC the synethic key that is created by keeping the Interval Match table separate isn't a bad thing. Read here: &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extract from the above link:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133833_Capture.PNG" style="height: 63px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how you are using the Flag, but I guess you won't able to create that flag unless you have them in one table. May be use ApplyMap or Lookup to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2016 10:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135445#M372742</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-06T10:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135446#M372743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sunny.&amp;nbsp; Henric's post initially made me think that IntervalMatch is what I need to use.&amp;nbsp; I just couldn't figure out how to implement it.&amp;nbsp; Here's my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data2:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;AgtID,&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;MonthTimeKey as Datekey&lt;/P&gt;&lt;P&gt;Resident Data;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intervals:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From, To, Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 198001, 201608, Active];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch:&lt;/P&gt;&lt;P&gt;IntervalMatch (Datekey)&lt;/P&gt;&lt;P&gt;Load Distinct&lt;/P&gt;&lt;P&gt;From,&lt;/P&gt;&lt;P&gt;To&lt;/P&gt;&lt;P&gt;Resident Intervals;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need need to create each interval in the Intervals table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 12:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135446#M372743</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-08-08T12:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135447#M372744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you have above looks right, are you running into errors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135447#M372744</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-08T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Should I use Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135448#M372745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not getting any errors - just takes awhile to load/process, even with a limited load of 5000 records.&amp;nbsp; I go to validate the results and the closed date status isn't correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like it works for one date.&amp;nbsp; I.e.,&amp;nbsp; Active date.&amp;nbsp; Not sure how to look at both the Open and Closed date.&amp;nbsp; (Add a record to the Intervals table for InActive?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-use-Intervalmatch/m-p/1135448#M372745</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-08-08T15:52:04Z</dc:date>
    </item>
  </channel>
</rss>

