<?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 Number of customers online each hour of the day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179018#M46011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dirk,&lt;/P&gt;&lt;P&gt;if your data volume allows, you can generate hourly rows for each full or partial hour when the customer was active (based on a From-To range), and calculate the portion of the hour when the customer was online. See attached example.&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Mar 2010 03:11:39 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2010-03-14T03:11:39Z</dc:date>
    <item>
      <title>Number of customers online each hour of the day</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179015#M46008</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 have this data to read in QV:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 197pt; border-collapse: collapse;" width="263"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" width="64" /&gt;&lt;COL style="width: 53pt; mso-width-source: userset; mso-width-alt: 2596;" width="71" /&gt;&lt;COL span="2" style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="width: 48pt; height: 12.75pt; background-color: transparent; border: windowtext 0.5pt solid;" width="64"&gt;Customer&lt;/TD&gt;&lt;TD class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 53pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="71"&gt;Date&lt;/TD&gt;&lt;TD class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 48pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="64"&gt;From&lt;/TD&gt;&lt;TD class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 48pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="64"&gt;To&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="40180"&gt;02/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.27083333333333331"&gt;6:30&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.35416666666666669"&gt;8:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="40180"&gt;02/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.29166666666666669"&gt;7:00&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.33333333333333331"&gt;8:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="40180"&gt;02/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.29166666666666669"&gt;7:00&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.3125"&gt;7:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="40180"&gt;02/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.33333333333333331"&gt;8:00&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.4375"&gt;10:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;E&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="40180"&gt;02/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.33333333333333331"&gt;8:00&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.34375"&gt;8:15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="40180"&gt;02/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.33333333333333331"&gt;8:00&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.38541666666666669"&gt;9:15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;G&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="40180"&gt;02/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.41666666666666669"&gt;10:00&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.5"&gt;12:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;and i want to have a chart like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 136pt; border-collapse: collapse;" width="181"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 74pt; mso-width-source: userset; mso-width-alt: 3584;" width="98" /&gt;&lt;COL style="width: 62pt; mso-width-source: userset; mso-width-alt: 3035;" width="83" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="width: 74pt; height: 12.75pt; background-color: transparent; border: windowtext 0.5pt solid;" width="98"&gt;From - To&lt;/TD&gt;&lt;TD class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 62pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="83"&gt;# Customers&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;00:00 - 00:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;01:00 - 01:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;02:00 - 02:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;03:00 - 03:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;04:00 - 04:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;05:00 - 05:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;06:00 - 06:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="0.5"&gt;0,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;07:00 - 07:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="2.5"&gt;2,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;08:00 - 08:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="2.75"&gt;2,75&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;09:00 - 09:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="1.25"&gt;1,25&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;10:00 - 10:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" num="1.5"&gt;1,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;11:00 - 11:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;12:00 - 12:59&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;where each customer that is online a whole hour = 1&lt;/P&gt;&lt;P&gt;half hour = 0,5&lt;/P&gt;&lt;P&gt;What to do in the script for this ?? Is there a easy way ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Dirk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 16:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179015#M46008</guid>
      <dc:creator>dirk_konings</dc:creator>
      <dc:date>2010-03-12T16:14:35Z</dc:date>
    </item>
    <item>
      <title>Number of customers online each hour of the day</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179016#M46009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dirk,&lt;/P&gt;&lt;P&gt;take a look at 'intervalmatch' which should give you some ideas.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 16:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179016#M46009</guid>
      <dc:creator />
      <dc:date>2010-03-12T16:36:58Z</dc:date>
    </item>
    <item>
      <title>Number of customers online each hour of the day</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179017#M46010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gordon,&lt;/P&gt;&lt;P&gt;Don't think this will work. Intervalmatch is for 1 value between a min and max value.&lt;/P&gt;&lt;P&gt;In this case, i have to split every time into hour parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 16:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179017#M46010</guid>
      <dc:creator>dirk_konings</dc:creator>
      <dc:date>2010-03-13T16:58:07Z</dc:date>
    </item>
    <item>
      <title>Number of customers online each hour of the day</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179018#M46011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dirk,&lt;/P&gt;&lt;P&gt;if your data volume allows, you can generate hourly rows for each full or partial hour when the customer was active (based on a From-To range), and calculate the portion of the hour when the customer was online. See attached example.&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Mar 2010 03:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179018#M46011</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-03-14T03:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Number of customers online each hour of the day</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179019#M46012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used your example to split the time into the minutes between each hour segment as such&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Stationary_time_split:&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;load&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowID,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hour(time(HourStart, 'hh:mm')) as HourID,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time(HourStart, 'hh:mm') as HourStart,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time(HourEnd, 'hh:mm') as HourEnd,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num#(interval(time(rangemin([Vacated Time], HourEnd), 'hh:mm') - time(rangemax([Arrived Time], HourStart), 'hh:mm') , 'mm') ) as ActiveTime&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;load&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Arrived Time], 1/24) + (Iterno() - 1)/24 as HourStart,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Arrived Time], 1/24) + (Iterno())/24&amp;nbsp; as HourEnd&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;resident Bay_Sensor_activity&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;while&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Arrived Time], 1/24) + Iterno()/24 &amp;lt;= ceil([Vacated Time], 1/24) + 0.02 //&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am struggling with though is if the TO date is different to the FROM date, i.e the time period extends past midnight into the following day.&amp;nbsp; I'm trying to amend the above to take account of the day and get it to generate the time through to the following day - however i'm struggling.&amp;nbsp; Any help on this would be very much appreciated&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;Lewis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 16:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-customers-online-each-hour-of-the-day/m-p/179019#M46012</guid>
      <dc:creator />
      <dc:date>2012-09-24T16:11:09Z</dc:date>
    </item>
  </channel>
</rss>

