<?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 Comparing a date value to a set of date ranges in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-a-date-value-to-a-set-of-date-ranges/m-p/1321627#M845232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - I'm a relatively novice Qlikview user.&amp;nbsp; I have a set of transactions and I need to compare those transactions to a range of dates to determine if they occur within any of those ranges for an individual. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Person 1:&lt;/P&gt;&lt;P&gt;Start 1 -End 1&lt;/P&gt;&lt;P&gt;Start 2 - End 2&lt;/P&gt;&lt;P&gt;Start 3-End 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Person 1 transactions:&lt;/P&gt;&lt;P&gt;Trans date 1&lt;/P&gt;&lt;P&gt;trans dates 2&lt;/P&gt;&lt;P&gt;trans date 3&lt;/P&gt;&lt;P&gt;trans date 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&amp;nbsp; The idea is the identify by person any transactions which are outside of the date ranges.&amp;nbsp; I was hoping someone could suggest an approach to tackle the problem or point me to an example, I might model.&amp;nbsp; I've done basic dashboards, not am just really learning set analysis functionalities.&amp;nbsp; I'd appreciate any advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Comparing a date value to a set of date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-a-date-value-to-a-set-of-date-ranges/m-p/1321627#M845232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - I'm a relatively novice Qlikview user.&amp;nbsp; I have a set of transactions and I need to compare those transactions to a range of dates to determine if they occur within any of those ranges for an individual. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Person 1:&lt;/P&gt;&lt;P&gt;Start 1 -End 1&lt;/P&gt;&lt;P&gt;Start 2 - End 2&lt;/P&gt;&lt;P&gt;Start 3-End 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Person 1 transactions:&lt;/P&gt;&lt;P&gt;Trans date 1&lt;/P&gt;&lt;P&gt;trans dates 2&lt;/P&gt;&lt;P&gt;trans date 3&lt;/P&gt;&lt;P&gt;trans date 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&amp;nbsp; The idea is the identify by person any transactions which are outside of the date ranges.&amp;nbsp; I was hoping someone could suggest an approach to tackle the problem or point me to an example, I might model.&amp;nbsp; I've done basic dashboards, not am just really learning set analysis functionalities.&amp;nbsp; I'd appreciate any advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-a-date-value-to-a-set-of-date-ranges/m-p/1321627#M845232</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing a date value to a set of date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-a-date-value-to-a-set-of-date-ranges/m-p/1321628#M845233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use IntervalMatch function&lt;/P&gt;&lt;P&gt;See this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3557"&gt;Interval Match Feature/Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4310"&gt;IntervalMatch and Slowly Changing Dimensions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 02:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-a-date-value-to-a-set-of-date-ranges/m-p/1321628#M845233</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2017-04-02T02:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing a date value to a set of date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-a-date-value-to-a-set-of-date-ranges/m-p/1321629#M845234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Range: // Table that contains StartDate &amp;amp; EndDate for each person&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAPPING&lt;/STRONG&gt; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;StartDate+iterno()-1 &amp;amp; Person as Dates,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; as Flag&lt;/P&gt;&lt;P&gt;FROM Source&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;while StartDate+iterno()-1 &amp;lt;= EndDate;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Transaction: //Transaction table&lt;/P&gt;&lt;P&gt;LOAD [Trans 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; Person,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;applymap&lt;/STRONG&gt;('Range',[Trans Date]&amp;amp;Person,'NA') as Flag&lt;/P&gt;&lt;P&gt;FROM TransTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, where ever Flag is "NA" in transaction table, that means that person has transaction out of range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 07:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-a-date-value-to-a-set-of-date-ranges/m-p/1321629#M845234</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-02T07:55:37Z</dc:date>
    </item>
  </channel>
</rss>

