<?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 Not quite working!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-Match-Not-quite-working/m-p/415113#M1150802</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;&lt;/P&gt;&lt;P&gt;I have, mostly using info from the community managed to build a table using Interval Match I do get a table but for some reason it is called &lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TempDateIM&lt;/SPAN&gt;-1 and is a syn table...is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not could you please advise a solution for what I am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13673387883957206" jivemacro_uid="_13673387883957206"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WeeklyCost:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; dteFromDate,&lt;BR /&gt;dteToDate,&lt;BR /&gt;intEnrolId,&lt;BR /&gt;intPriceItemId,&lt;BR /&gt;curBasic,&lt;BR /&gt;InvoiceLine.ItemDays,&lt;BR /&gt;InvoiceLine.DailyValue&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RESIDENT InvoiceLine;&lt;/P&gt;&lt;P&gt;//Keeps minimum and maximum Date value from Invoice Dates Invoice Line table&lt;BR /&gt;MinMaxIM:&lt;BR /&gt;LOAD&lt;BR /&gt; Min(dteFromDate) as MinDateIM,&lt;BR /&gt; Max(dteToDate) as MaxDateIM&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;RESIDENT&amp;nbsp; WeeklyCost;&lt;/P&gt;&lt;P&gt;LET vMinDateIM = num(makedate(2009,1,1));&lt;BR /&gt;//LET vMinDateIM = Num(Peek('MinDateIM', 0, 'MinMaxIM')); &lt;BR /&gt;LET vMaxDateIM = Num(Peek('MaxDateIM', 0, 'MinMaxIM'));&lt;BR /&gt;LET vToday = $(vMaxDateIM);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//*************** Temporary Calendar *************&lt;/P&gt;&lt;P&gt;//Generates a single table with one field containing all existing dates between MinDate and MaxDate&lt;/P&gt;&lt;P&gt;TempCalIM:&lt;BR /&gt;LOAD &lt;BR /&gt; Date($(vMinDateIM) + rowno() - 1) AS TempDateIM&lt;BR /&gt;AUTOGENERATE &lt;BR /&gt; $(vMaxDateIM) - $(vMinDateIM) + 1;&lt;/P&gt;&lt;P&gt;DROP TABLE MinMaxIM;&lt;/P&gt;&lt;P&gt;IntervalMatch (TempDateIM) LOAD dteFromDate, dteToDate RESIDENT WeeklyCost;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalIM;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2013 16:24:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-30T16:24:33Z</dc:date>
    <item>
      <title>Interval Match Not quite working!!</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-Not-quite-working/m-p/415113#M1150802</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;&lt;/P&gt;&lt;P&gt;I have, mostly using info from the community managed to build a table using Interval Match I do get a table but for some reason it is called &lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TempDateIM&lt;/SPAN&gt;-1 and is a syn table...is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not could you please advise a solution for what I am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13673387883957206" jivemacro_uid="_13673387883957206"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WeeklyCost:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; dteFromDate,&lt;BR /&gt;dteToDate,&lt;BR /&gt;intEnrolId,&lt;BR /&gt;intPriceItemId,&lt;BR /&gt;curBasic,&lt;BR /&gt;InvoiceLine.ItemDays,&lt;BR /&gt;InvoiceLine.DailyValue&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RESIDENT InvoiceLine;&lt;/P&gt;&lt;P&gt;//Keeps minimum and maximum Date value from Invoice Dates Invoice Line table&lt;BR /&gt;MinMaxIM:&lt;BR /&gt;LOAD&lt;BR /&gt; Min(dteFromDate) as MinDateIM,&lt;BR /&gt; Max(dteToDate) as MaxDateIM&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;RESIDENT&amp;nbsp; WeeklyCost;&lt;/P&gt;&lt;P&gt;LET vMinDateIM = num(makedate(2009,1,1));&lt;BR /&gt;//LET vMinDateIM = Num(Peek('MinDateIM', 0, 'MinMaxIM')); &lt;BR /&gt;LET vMaxDateIM = Num(Peek('MaxDateIM', 0, 'MinMaxIM'));&lt;BR /&gt;LET vToday = $(vMaxDateIM);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//*************** Temporary Calendar *************&lt;/P&gt;&lt;P&gt;//Generates a single table with one field containing all existing dates between MinDate and MaxDate&lt;/P&gt;&lt;P&gt;TempCalIM:&lt;BR /&gt;LOAD &lt;BR /&gt; Date($(vMinDateIM) + rowno() - 1) AS TempDateIM&lt;BR /&gt;AUTOGENERATE &lt;BR /&gt; $(vMaxDateIM) - $(vMinDateIM) + 1;&lt;/P&gt;&lt;P&gt;DROP TABLE MinMaxIM;&lt;/P&gt;&lt;P&gt;IntervalMatch (TempDateIM) LOAD dteFromDate, dteToDate RESIDENT WeeklyCost;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalIM;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 16:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-Not-quite-working/m-p/415113#M1150802</guid>
      <dc:creator />
      <dc:date>2013-04-30T16:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match Not quite working!!</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-Not-quite-working/m-p/415114#M1150803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't specify a name for the intervalmatch table so it gets the name of the previous one with -1 appended. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TabelNameHere: &lt;/P&gt;&lt;P&gt;IntervalMatch (TempDateIM) LOAD ...etc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get a syn table. That's correct and not a problem. Read &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch"&gt;this blog post&lt;/A&gt; for an explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 18:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-Not-quite-working/m-p/415114#M1150803</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-30T18:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match Not quite working!!</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-Not-quite-working/m-p/415115#M1150804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GysbertThanks for your help novice error I guess!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One last issue is that I now have 2 tables with no link other than dates, how do I create a single table for the dates and the orginal data from WeeklyCost into one table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 09:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-Not-quite-working/m-p/415115#M1150804</guid>
      <dc:creator />
      <dc:date>2013-05-01T09:34:55Z</dc:date>
    </item>
  </channel>
</rss>

