<?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 IntervalMatch to assign a Time Period label to Event Times in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IntervalMatch-to-assign-a-Time-Period-label-to-Event-Times/m-p/1556596#M599403</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a table with a series of 'Events', each of which has a time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="this is the format of the original table" style="width: 161px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8023i77B73E0100457D30/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="this is the format of the original table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;this is the format of the original table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm trying to assign a 'time period' to each row, eg&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 290px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8026iD25D5737C77EFF4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm hoping to end up with a table like the below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 290px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8027iC4AE801FD046EFF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to use&amp;nbsp;IntervalMatch to achieve this, but for some reason my results are as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 290px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8028i3A135DA109FC6EAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script I am using is as follows&lt;/P&gt;&lt;P&gt;Time:&lt;BR /&gt;LOAD time#(Start_Time,'hh:mm:ss:fff') as Start_Time,&lt;BR /&gt;time#(End_Time,'hh:mm:ss:fff') as End_Time,&lt;BR /&gt;Time_Period_Group&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Time_Periods.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Main_Table:&lt;/P&gt;&lt;P&gt;LOAD Event,&lt;BR /&gt;time([Time],'hh:mm:ss:fff')as Time&amp;nbsp;&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Events.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;Inner Join IntervalMatch (Main_Table)&lt;BR /&gt;Load time#(Start_Time,'hh:mm:ss:fff') as Start_Time,&lt;BR /&gt;time#(End_Time,'hh:mm:ss:fff') as End_Time,&lt;BR /&gt;Time_Period_Group&lt;BR /&gt;Resident Time;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first attempt at using IntervalMatch and no doubt there is some issue with the syntax - any help or advice would be highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:10:14 GMT</pubDate>
    <dc:creator>siobhancrossen</dc:creator>
    <dc:date>2024-11-16T04:10:14Z</dc:date>
    <item>
      <title>IntervalMatch to assign a Time Period label to Event Times</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-to-assign-a-Time-Period-label-to-Event-Times/m-p/1556596#M599403</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a table with a series of 'Events', each of which has a time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="this is the format of the original table" style="width: 161px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8023i77B73E0100457D30/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="this is the format of the original table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;this is the format of the original table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm trying to assign a 'time period' to each row, eg&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 290px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8026iD25D5737C77EFF4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm hoping to end up with a table like the below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 290px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8027iC4AE801FD046EFF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to use&amp;nbsp;IntervalMatch to achieve this, but for some reason my results are as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 290px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8028i3A135DA109FC6EAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script I am using is as follows&lt;/P&gt;&lt;P&gt;Time:&lt;BR /&gt;LOAD time#(Start_Time,'hh:mm:ss:fff') as Start_Time,&lt;BR /&gt;time#(End_Time,'hh:mm:ss:fff') as End_Time,&lt;BR /&gt;Time_Period_Group&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Time_Periods.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Main_Table:&lt;/P&gt;&lt;P&gt;LOAD Event,&lt;BR /&gt;time([Time],'hh:mm:ss:fff')as Time&amp;nbsp;&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Events.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;Inner Join IntervalMatch (Main_Table)&lt;BR /&gt;Load time#(Start_Time,'hh:mm:ss:fff') as Start_Time,&lt;BR /&gt;time#(End_Time,'hh:mm:ss:fff') as End_Time,&lt;BR /&gt;Time_Period_Group&lt;BR /&gt;Resident Time;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first attempt at using IntervalMatch and no doubt there is some issue with the syntax - any help or advice would be highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-to-assign-a-Time-Period-label-to-Event-Times/m-p/1556596#M599403</guid>
      <dc:creator>siobhancrossen</dc:creator>
      <dc:date>2024-11-16T04:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch to assign a Time Period label to Event Times</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-to-assign-a-Time-Period-label-to-Event-Times/m-p/1561005#M599404</link>
      <description>&lt;P&gt;Here is a post from Michael Tarallo that might be of some help, it has been a long while since I used this as well, so not sure I am going to be much help without really diving in and working things myself, and unfortunately I do not have the time to do that at the moment, so hopefully the following may help if you are still struggling:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Using-IntervalMatch/ba-p/1475510" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Using-IntervalMatch/ba-p/1475510&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And here is post from Henric Cronstrom as well:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/IntervalMatch/ba-p/1464547&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 21:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-to-assign-a-Time-Period-label-to-Event-Times/m-p/1561005#M599404</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-03-25T21:11:48Z</dc:date>
    </item>
  </channel>
</rss>

