<?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: Averaging data between two time periods for multiple dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378117#M615774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try using the hour() function. &lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/hour.htm" style="font-size: 13.3333px;" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/hour.htm"&gt;hour ‒ QlikView&lt;/A&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Either you create a calculated dimension in the object or a new field in your dimensiontabel, and add 1 to the hour value so 00:05:00 and 00:55:00 becomes "1" etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative solution and if you want a better label, you could try to round your timestamp by the following solution based on hour and string manipulation using: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:05:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:55:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01:05:00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TimeRound:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;time(hour([Time]) +1 &amp;amp; ':00:' &amp;amp; '00') as RoundTime&lt;/P&gt;&lt;P&gt;Resident Time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else look into the following thread for other ways to round a timestamp to whole hours.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/121666"&gt;Rounding timestamp to hour&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 09:32:36 GMT</pubDate>
    <dc:creator>mbrdenmark</dc:creator>
    <dc:date>2017-08-10T09:32:36Z</dc:date>
    <item>
      <title>Averaging data between two time periods for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378115#M615772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got stuck under a peculiar situation when I am trying create a dashboard. I have the following data sample with me (also attached in the excel file with c. 200K rows data). Now, the "ROLLING SYSTEM" data&amp;nbsp; is the primary key here and the "Time" field is derived from 'ROLLING SYSTEM' field. One catch here is that time is not consistent with 5 minutes interval (although it is there for most of the times, but I can't make any exceptions as every day new data will be appended).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 238px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="117"&gt;ROLLING SYSTEM &lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="57"&gt;Time&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="64"&gt;DEMAND&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715000000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;24549&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715000500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:05:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;24570&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715002000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:20:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;24078&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715002500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:25:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23968&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715003000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:30:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23924&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715003500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:35:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23985&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715004500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:45:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23958&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715005000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:50:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23830&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715005500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;00:55:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23468&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715010000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:00:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23356&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715012000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:20:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23134&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715012500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:25:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;23025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715013000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:30:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;22912&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715013500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:35:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;22900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715014000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:40:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;22829&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715014500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:45:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;22820&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715015000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:50:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;22801&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="20" style="border-top: none;"&gt;20150715015500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;01:55:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;22709&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to have in the output is average demand for every hourly period against the ending hour time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. against 01:00:00 the average demand should be average of 'Demand' field data for time period &amp;gt;= 00:00:00 and &amp;lt;01:00:00;&lt;/P&gt;&lt;P&gt;against 02:00:00 the average demand should be average of 'Demand' field data for time period &amp;gt;= 01:00:00 and &amp;lt;02:00:00; and so on. Something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="196"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="82"&gt;Time Period&lt;/TD&gt;&lt;TD class="xl66" width="114"&gt;Average Demand&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;01:00:00&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-left: none;"&gt;24036.6667&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;02:00:00&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;22942.8889&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;03:00:00&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;22548.0000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="21" style="border-top: none;"&gt;04:00:00&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;22393.5000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if anyone can help me out with this. thanks a ton in advance. best regards, Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 08:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378115#M615772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-10T08:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging data between two time periods for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378116#M615773</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;Try the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378116#M615773</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-08-10T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging data between two time periods for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378117#M615774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try using the hour() function. &lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/hour.htm" style="font-size: 13.3333px;" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/hour.htm"&gt;hour ‒ QlikView&lt;/A&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Either you create a calculated dimension in the object or a new field in your dimensiontabel, and add 1 to the hour value so 00:05:00 and 00:55:00 becomes "1" etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative solution and if you want a better label, you could try to round your timestamp by the following solution based on hour and string manipulation using: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:05:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:55:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01:05:00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TimeRound:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;time(hour([Time]) +1 &amp;amp; ':00:' &amp;amp; '00') as RoundTime&lt;/P&gt;&lt;P&gt;Resident Time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else look into the following thread for other ways to round a timestamp to whole hours.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/121666"&gt;Rounding timestamp to hour&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378117#M615774</guid>
      <dc:creator>mbrdenmark</dc:creator>
      <dc:date>2017-08-10T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging data between two time periods for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378118#M615775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Varun for your reply. I guess I missed one point here. The average demand needs to be calculated for every hour for each time period for all the dates given (dated are given in the first column of attached excel 'ROLLING SYSTEM' field, where the first eight characters gives us date in 'YYYYMMDD' format. The output should be something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="321"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="125"&gt;ROLLING SYSTEM &lt;/TD&gt;&lt;TD class="xl67" width="82"&gt;Time Period&lt;/TD&gt;&lt;TD class="xl67" width="114"&gt;Average Demand&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20"&gt;20150715000000&lt;/TD&gt;&lt;TD align="right" class="xl65" width="82"&gt;1:00:00&lt;/TD&gt;&lt;TD class="xl66" width="114"&gt;24036.6667&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20"&gt;20150715000000&lt;/TD&gt;&lt;TD align="right" class="xl65" width="82"&gt;2:00:00&lt;/TD&gt;&lt;TD class="xl66" width="114"&gt;22942.8889&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20"&gt;20150715000000&lt;/TD&gt;&lt;TD align="right" class="xl65" width="82"&gt;3:00:00&lt;/TD&gt;&lt;TD class="xl66" width="114"&gt;22548&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20"&gt;20150715000000&lt;/TD&gt;&lt;TD align="right" class="xl65" width="82"&gt;4:00:00&lt;/TD&gt;&lt;TD class="xl66" width="114"&gt;22393.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20"&gt;20150716000000&lt;/TD&gt;&lt;TD align="right" class="xl65" width="82"&gt;1:00:00&lt;/TD&gt;&lt;TD class="xl66" width="114"&gt;25554.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20"&gt;20150716000000&lt;/TD&gt;&lt;TD align="right" class="xl65" width="82"&gt;2:00:00&lt;/TD&gt;&lt;TD class="xl66" width="114"&gt;25457.1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance for your help here. Best regards, Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378118#M615775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-10T09:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging data between two time periods for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378119#M615776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached updated qvw &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378119#M615776</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-08-10T09:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging data between two time periods for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378120#M615777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;see Attachment.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173037_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378120#M615777</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-10T09:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging data between two time periods for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378121#M615778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD [ROLLING SYSTEM],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(date#(left([ROLLING SYSTEM],8),'YYYYMMDD'),'YYYYMMDD') as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time#(Time,'hh:mm:ss') as Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEMAND&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Final Demand Data.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&amp;amp;'000000' as [ROLLING SYSTEM],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Time + maketime(1,0,0),'hh')&amp;amp;':00:00' as [Time Period],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEMAND&lt;/P&gt;&lt;P&gt;Resident Data&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173075_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 12:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-data-between-two-time-periods-for-multiple-dates/m-p/1378121#M615778</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-10T12:35:31Z</dc:date>
    </item>
  </channel>
</rss>

