<?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: Creating additional field column by Time of day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590351#M1110713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above will round to the nearest hour of the day (24 hours a day, thus 1/24), if you want to round to nearest 5 minutes, there are 12 five minutes intervals per hours, so you need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Time(round([RequestTime],1/(24*12)),'hh:mm TT') as Time&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 18:51:59 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-03-19T18:51:59Z</dc:date>
    <item>
      <title>Creating additional field column by Time of day</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590348#M1110707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set that I have been able to break down a single column into multiple fields from the load script below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have the ability to drill down by Year, Month, Day, and Time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that my Time field contains every time stamp down to the second. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know the easiest way to group the Time data so so I can see the results at a specific hour or half hour? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, I would like time to read&lt;/P&gt;&lt;P&gt;1PM&lt;/P&gt;&lt;P&gt;2PM&lt;/P&gt;&lt;P&gt;3PM&lt;/P&gt;&lt;P&gt;4PM&lt;/P&gt;&lt;P&gt;5PM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Year([RequestTime]) as Year,&lt;/P&gt;&lt;P&gt;Month([RequestTime]) as Month,&lt;/P&gt;&lt;P&gt;Day([RequestTime]) as Day,&lt;/P&gt;&lt;P&gt;Time([RequestTime]) as Time; &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Timestamp(Timestamp#(Mid([RequestTime],2,20),'DD/MMM/YYYY:hh:mm:ss')) as [RequestTime]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\..\20140313_Resource_2.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is resource);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[HTTP Status],&lt;/P&gt;&lt;P&gt;[Time to Serve Request (Microseconds)],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\..\20140313_Resource_2.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is resource)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590348#M1110707</guid>
      <dc:creator />
      <dc:date>2014-03-18T19:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating additional field column by Time of day</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590349#M1110708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time(round([RequestTime],1/24),'hh TT') as Time;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590349#M1110708</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-18T19:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating additional field column by Time of day</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590350#M1110711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I able to break this down by every 5 minutes? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 20:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590350#M1110711</guid>
      <dc:creator />
      <dc:date>2014-03-18T20:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating additional field column by Time of day</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590351#M1110713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above will round to the nearest hour of the day (24 hours a day, thus 1/24), if you want to round to nearest 5 minutes, there are 12 five minutes intervals per hours, so you need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Time(round([RequestTime],1/(24*12)),'hh:mm TT') as Time&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 18:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-additional-field-column-by-Time-of-day/m-p/590351#M1110713</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-19T18:51:59Z</dc:date>
    </item>
  </channel>
</rss>

