<?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: IntervalMatch on Time field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837398#M294463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see that your Time is having one hour interval while your Arrival and Depart Time is having more than one hour.&lt;/P&gt;&lt;P&gt;How can you match them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jun 2015 21:29:29 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-06-27T21:29:29Z</dc:date>
    <item>
      <title>IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837397#M294462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&amp;nbsp; I am not sure why I cant do an interval match on a time field. I have an arrival time &amp;amp; depart time and want to match on 24&amp;nbsp; 1 hr events. I have attached my sample QV doc. Any help would be great. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 20:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837397#M294462</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2015-06-27T20:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837398#M294463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see that your Time is having one hour interval while your Arrival and Depart Time is having more than one hour.&lt;/P&gt;&lt;P&gt;How can you match them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 21:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837398#M294463</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-06-27T21:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837399#M294464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I misunderstood intervalmatch. I thought that my hour event for 10 am will fall under all intervals that have 10 am in them, for example, 9:45 - 11 am or 9 - 12 pm...etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 21:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837399#M294464</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2015-06-27T21:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837400#M294465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Intervalmatch will not help you in this case. You need to run a loop from Arival to Depart hour...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 22:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837400#M294465</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-06-27T22:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837401#M294466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, can you give me a quick example? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 01:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837401#M294466</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2015-06-28T01:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837402#M294467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here is another test I did which works exactly the way I want. BTW, the 'Staying Chart' in this app is what I am trying to accomplish in the original app. In this app I have one hour intervals and more than one hour begin and end times. Why is it that this app works but my original does not?&amp;nbsp; Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 02:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837402#M294467</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2015-06-28T02:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837403#M294468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temp_Events:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;TIME,ZID&lt;/P&gt;&lt;P&gt;12:00:00 AM,1&lt;/P&gt;&lt;P&gt;01:00:00 AM,2&lt;/P&gt;&lt;P&gt;02:00:00 AM,3&lt;/P&gt;&lt;P&gt;03:00:00 AM,4&lt;/P&gt;&lt;P&gt;04:00:00 AM,5&lt;/P&gt;&lt;P&gt;05:00:00 AM,6&lt;/P&gt;&lt;P&gt;06:00:00 AM,7&lt;/P&gt;&lt;P&gt;07:00:00 AM,8&lt;/P&gt;&lt;P&gt;08:00:00 AM,9&lt;/P&gt;&lt;P&gt;09:00:00 AM,10&lt;/P&gt;&lt;P&gt;10:00:00 AM,11&lt;/P&gt;&lt;P&gt;11:00:00 AM,12&lt;/P&gt;&lt;P&gt;12:00:00 PM,13&lt;/P&gt;&lt;P&gt;01:00:00 PM,14&lt;/P&gt;&lt;P&gt;02:00:00 PM,15&lt;/P&gt;&lt;P&gt;03:00:00 PM,16&lt;/P&gt;&lt;P&gt;04:00:00 PM,17&lt;/P&gt;&lt;P&gt;05:00:00 PM,18&lt;/P&gt;&lt;P&gt;06:00:00 PM,19&lt;/P&gt;&lt;P&gt;07:00:00 PM,20&lt;/P&gt;&lt;P&gt;08:00:00 PM,21&lt;/P&gt;&lt;P&gt;09:00:00 PM,22&lt;/P&gt;&lt;P&gt;10:00:00 PM,23&lt;/P&gt;&lt;P&gt;11:00:00 PM,24&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Events:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; ZID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Time(TIME,'hh:mm:ss') as Time&lt;/P&gt;&lt;P&gt;Resident Temp_Events;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Temp_Events;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intervals:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; %DLRO_KEY, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Type, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Arrival_Datetime,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Time(Frac(Arrival_Datetime),'hh:mm:ss') as Arrival_Time, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Depart_Datetime, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Time(Frac(Depart_Datetime),'hh:mm:ss') as Depart_Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Occupancy_Hour, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Visits&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;[..\Desktop\TB04_20150627_222530.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;IntervalMatch(Time)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Arrival_Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Depart_Time&lt;/P&gt;&lt;P&gt;Resident Intervals;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 06:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837403#M294468</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-06-28T06:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch on Time field</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837404#M294469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great ! This worked the way I wanted but I then found out that with a time stamp some events could fall outside of the interval range. For example, event&amp;nbsp; of 11 am would fall outside of interval 11:05 am - 2:00 pm. So I changed the interval range to the hour ie. 8 - 10 am that picked up all my values.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So does this mean that interval match does not work well with Timestamps and I have to convert using Frac() function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, Thanks for the help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 02:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-on-Time-field/m-p/837404#M294469</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2015-06-30T02:05:39Z</dc:date>
    </item>
  </channel>
</rss>

