<?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: Help with IntervalMatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539280#M691871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can change it to&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Table:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONTRACT,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;REGISTERED_DATE,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOLD_DATE,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1), 'YYYYMM') AS DimDate,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;if(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) &amp;lt; Date(Date#(SOLD_DATE_SIM, 'YYYYMM')),1,0)&lt;/SPAN&gt; AS FlagStock,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(IterNO() = 1, 1, 0) AS FlagEntries,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) = Date(Date#(SOLD_DATE_SIM, 'YYYYMM')),1,0) AS FlagSold&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Resident Table&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;While AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) &amp;lt;= Date(Date#(SOLD_DATE_SIM, 'YYYYMM'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2013 23:32:58 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-09-19T23:32:58Z</dc:date>
    <item>
      <title>Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539273#M691864</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 need some help with a problem I had for a while to calculate how many cars we have on stock each month.&lt;/P&gt;&lt;P&gt;I have a source-table that looks like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 2.75pt;" width="280"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid #95b3d7 1.0pt; border-right: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Contract&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: solid #95B3D7 1.0pt; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;RegistrationDate&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid #95b3d7 1.0pt; border-left: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="79"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;SoldDate&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;201201&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="79"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;201203&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10002&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;201202&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="79"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;201205&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10003&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;201204&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="79"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;201204&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="75"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10004&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;201203&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each contract represents a car.&amp;nbsp; RegistrationDate is when we received the car and SoldDate is when we sold the car. If SoldDate is empty it means the car is still on stock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m trying to get a stock-table that looks like this where I flagged each month the car is on stock:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 2.75pt;" width="475"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid #95b3d7 1.0pt; border-right: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Contract&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: solid #95B3D7 1.0pt; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;201201&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: solid #95B3D7 1.0pt; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;201202&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: solid #95B3D7 1.0pt; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;201203&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: solid #95B3D7 1.0pt; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;201204&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid #95b3d7 1.0pt; border-left: none; background: #4F81BD; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;201205&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10002&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10003&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: solid #95B3D7 1.0pt; background: #DCE6F1; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: solid #95B3D7 1.0pt; border-bottom: solid #95B3D7 1.0pt; border-right: none; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;10004&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="87"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid #95B3D7 1.0pt; border-right: solid #95B3D7 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="64"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the IntervalMatch and connect the table to a Calendar without results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me with this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 22:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539273#M691864</guid>
      <dc:creator />
      <dc:date>2013-09-18T22:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539274#M691865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the attachment helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 22:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539274#M691865</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-09-18T22:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539275#M691866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interval match is not needed to create the stock chart. Check the attached app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 01:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539275#M691866</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2013-09-19T01:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539276#M691867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, this was very good!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 12:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539276#M691867</guid>
      <dc:creator />
      <dc:date>2013-09-19T12:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539277#M691868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do someone of you also know how I can in the loop set a flag when the cars been sold?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script:&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONTRACT,&lt;/P&gt;&lt;P&gt;REGISTERED_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOLD_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1), 'YYYYMM') AS DimDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 AS FlagStock,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(IterNO() = 1, 1, 0) AS FlagEntries&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(statement,1,0) AS FlagSold&lt;/P&gt;&lt;P&gt;Resident Table&lt;/P&gt;&lt;P&gt;While AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) &amp;lt; Date(Date#(SOLD_DATE_SIM, 'YYYYMM'));&lt;/P&gt;&lt;P&gt;----------------------------------------------------&lt;/P&gt;&lt;P&gt;So the FlagSold should be on the month after the last stockmonth if the car is sold. Is that possible in this loop?&lt;/P&gt;&lt;P&gt;This is what I'm looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 394px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11pt; color: white; font-weight: bold; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; border-left-width: 0.5pt; border-left-color: #95b3d7; background-color: #4f81bd;" width="74"&gt;Contract&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: white; font-weight: bold; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #4f81bd;" width="76"&gt;DimDate&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: white; font-weight: bold; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #4f81bd;" width="90"&gt;FlagEntries&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: white; font-weight: bold; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #4f81bd;" width="80"&gt;FlagStock&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: white; font-weight: bold; font-family: Calibri; border-top-width: 0.5pt; border-style: solid solid solid none; border-top-color: #95b3d7; border-right-width: 0.5pt; border-right-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #4f81bd;" width="74"&gt;FlagSold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; border-left-width: 0.5pt; border-left-color: #95b3d7; background-color: #dce6f1;"&gt;1001&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #dce6f1;"&gt;201205&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #dce6f1;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #dce6f1;"&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; border-left-width: 0.5pt; border-left-color: #95b3d7;"&gt;1001&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7;"&gt;201206&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7;"&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; border-left-width: 0.5pt; border-left-color: #95b3d7; background-color: #dce6f1;"&gt;1001&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #dce6f1;"&gt;201207&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #dce6f1;"&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; border-left-width: 0.5pt; border-left-color: #95b3d7;"&gt;1001&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7;"&gt;201208&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid solid solid none; border-top-color: #95b3d7; border-right-width: 0.5pt; border-right-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7;"&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; border-left-width: 0.5pt; border-left-color: #95b3d7; background-color: #dce6f1;"&gt;1001&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; background-color: #dce6f1;"&gt;201209&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none solid solid; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7; border-left-width: 0.5pt; border-left-color: #95b3d7;"&gt;1001&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-family: Calibri; border-top-width: 0.5pt; border-style: solid none; border-top-color: #95b3d7; border-bottom-width: 0.5pt; border-bottom-color: #95b3d7;"&gt;201210&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#4F81BD&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="margin-left: 2.75pt; width: 396px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here the car was received 201205 and sold in 201208. FlagEntries and FlagStock works fine in the loop.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 23:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539277#M691868</guid>
      <dc:creator />
      <dc:date>2013-09-19T23:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539278#M691869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;if(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) = Date(Date#(SOLD_DATE_SIM, 'YYYYMM')),1,0) AS FlagSold&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 23:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539278#M691869</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-09-19T23:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539279#M691870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that but I only get 0 on FlagSold. I think it's because of the small change I had to make to get the stockflag not to include the month the car was sold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changed: &amp;lt;= to &amp;lt;&lt;/P&gt;&lt;P&gt;While AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) &lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt; Date(Date#(SOLD_DATE_SIM, 'YYYYMM'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 23:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539279#M691870</guid>
      <dc:creator />
      <dc:date>2013-09-19T23:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539280#M691871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can change it to&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Table:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONTRACT,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;REGISTERED_DATE,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOLD_DATE,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1), 'YYYYMM') AS DimDate,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;if(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) &amp;lt; Date(Date#(SOLD_DATE_SIM, 'YYYYMM')),1,0)&lt;/SPAN&gt; AS FlagStock,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(IterNO() = 1, 1, 0) AS FlagEntries,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) = Date(Date#(SOLD_DATE_SIM, 'YYYYMM')),1,0) AS FlagSold&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Resident Table&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;While AddMonths(Date(Date#(REGISTERED_DATE, 'YYYYMM')), IterNo() - 1) &amp;lt;= Date(Date#(SOLD_DATE_SIM, 'YYYYMM'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 23:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539280#M691871</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-09-19T23:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539281#M691872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That solved it. Thank you Celambarasan for your great contribution!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 08:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IntervalMatch/m-p/539281#M691872</guid>
      <dc:creator />
      <dc:date>2013-09-20T08:15:27Z</dc:date>
    </item>
  </channel>
</rss>

