<?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: Grouping times into intervals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102028#M365454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well - how about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;buckets:&lt;/P&gt;&lt;P&gt;Noconcatenate LOAD * Inline[&lt;/P&gt;&lt;P&gt;Start, End, Bucket&lt;/P&gt;&lt;P&gt;00:01, 4:00, A&lt;/P&gt;&lt;P&gt;4:01, 8:00, B&lt;/P&gt;&lt;P&gt;8:01, 12:00, C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD A_Time, ...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;P&gt;Join IntervalMatch(A_Time) LOAD Start, End Resident buckets;&lt;/P&gt;&lt;P&gt;join LOAD * Resident buckets;&lt;/P&gt;&lt;P&gt;drop table buckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above will have a column in the FACT which will have the BUCKET info. (If not needed, the interval start and End fields can be dropped)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 14:43:09 GMT</pubDate>
    <dc:creator>boorgura</dc:creator>
    <dc:date>2016-07-06T14:43:09Z</dc:date>
    <item>
      <title>Grouping times into intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102024#M365450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some data that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;A_Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;A_Time&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;A_Code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;A_Desc&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;A_ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01/04/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;00:01:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;481&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Machine Alarm: 481 - Laser Scanner Trip [Lay Table]&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;120626&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01/04/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;00:04:13&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;481&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Machine Alarm: 481 - Laser Scanner Trip [Unloader]&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;120762&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01/04/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;00:14:45&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;480&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Machine Alarm: 480 - Scissor Lift Light Curtain is Broken - Press Blue Reset [Light Curtain Short Edge]&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;121288&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01/04/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;00:29:47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;480&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Machine Alarm: 480 - Scissor Lift Light Curtain is Broken - Press Blue Reset [Light Curtain Short Edge]&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;122702&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01/04/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;00:42:12&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;481&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Machine Alarm: 481 - Laser Scanner Trip [Unloader]&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;122766&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01/04/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01:02:34&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;481&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Machine Alarm: 481 - Laser Scanner Trip [Unloader]&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;54818&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end goal is to analyse whether any alarms (A_Code) occur more frequently at certain times of the day through some sort of chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve this, I need to group the times into different 4 hour buckets:&lt;/P&gt;&lt;P&gt;12am - 4am&lt;/P&gt;&lt;P&gt;4am - 8am&lt;/P&gt;&lt;P&gt;8am - 12pm&lt;/P&gt;&lt;P&gt;12pm - 4pm etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I could achieve this with IF statements within the script however I want to avoid this if possible. That final dataset will be large, perhaps around 400 million rows and will increase constantly so the solution needs to be efficient. I'm sure there is a better way to do it with either the Class() or IntervalMatch() functions however I'm struggling to see how this would work with my data as it is in time format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be much appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 13:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102024#M365450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-06T13:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping times into intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102025#M365451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jo,&lt;/P&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Pick(Ceil(Num(A_Time)/6),&lt;/P&gt;&lt;P&gt;'12am - 4am',&lt;/P&gt;&lt;P&gt;'4am - 8am',&lt;/P&gt;&lt;P&gt;'8am - 12pm',&lt;/P&gt;&lt;P&gt;'12pm - 4pm',&lt;/P&gt;&lt;P&gt;'4pm - 8pm',&lt;/P&gt;&lt;P&gt;'8pm - 12am') as TimePeriod;&lt;/P&gt;&lt;P&gt;LOAD A_Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_Time, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_Code, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_Desc, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="223974" data-objecttype="1" href="https://community.qlik.com/thread/223974"&gt;https://community.qlik.com/thread/223974&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field TimePeriod will serve as your dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102025#M365451</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-06T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping times into intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102026#M365452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IntervalMatch should be helpful here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load your buckets with start and end times (as an inline table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then load the fact table.&lt;/P&gt;&lt;P&gt;followed by&lt;/P&gt;&lt;P&gt;intervalmatch()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Please make sure the format of the A_Time and Start and End Times are similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102026#M365452</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2016-07-06T14:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping times into intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102027#M365453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;I think IntervalMatch is useful for the reverse situation to what we have here. IntervalMatch allows us to associate intervals in a fact table with individual elements in a dimensional table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Jo is trying to associate times in the fact table to intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Of course it's always possible that I've misunderstood the question - did that before &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102027#M365453</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-06T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping times into intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102028#M365454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well - how about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;buckets:&lt;/P&gt;&lt;P&gt;Noconcatenate LOAD * Inline[&lt;/P&gt;&lt;P&gt;Start, End, Bucket&lt;/P&gt;&lt;P&gt;00:01, 4:00, A&lt;/P&gt;&lt;P&gt;4:01, 8:00, B&lt;/P&gt;&lt;P&gt;8:01, 12:00, C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD A_Time, ...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;P&gt;Join IntervalMatch(A_Time) LOAD Start, End Resident buckets;&lt;/P&gt;&lt;P&gt;join LOAD * Resident buckets;&lt;/P&gt;&lt;P&gt;drop table buckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above will have a column in the FACT which will have the BUCKET info. (If not needed, the interval start and End fields can be dropped)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102028#M365454</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2016-07-06T14:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping times into intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102029#M365455</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;maybe one solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_223974_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130354_QlikCommunity_Thread_223974_Pic1.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_223974_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/130388_QlikCommunity_Thread_223974_Pic2.JPG" style="height: auto; width: auto;" /&gt;&amp;nbsp;&amp;nbsp; &lt;IMG alt="QlikCommunity_Thread_223974_Pic3.JPG" class="jive-image image-3" height="288" src="https://community.qlik.com/legacyfs/online/130389_QlikCommunity_Thread_223974_Pic3.JPG" style="height: 288px; width: 167.544px;" width="168" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_223974_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/130390_QlikCommunity_Thread_223974_Pic4.JPG" style="height: 304px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using below TimeBucket expression as calculated dimension in the chart and a variable to change the bucket width might result in a more flexible chart. But I guess this solution would lack the necessary performance given your table size:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_223974_Pic5.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/130394_QlikCommunity_Thread_223974_Pic5.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_223974_Pic6.JPG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/130395_QlikCommunity_Thread_223974_Pic6.JPG" style="height: 328px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14678450733333597" jivemacro_uid="_14678450733333597"&gt;
&lt;P&gt;tabAlarms:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp(A_Date+A_Time) as A_DateTime,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Time(Floor(A_Time,'04:00'),'hhtt')&amp;amp;' - '&amp;amp;Time(Floor(A_Time,'04:00')+'04:00','hhtt'),Floor(A_Time,'04:00')) as TimeBucket,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Machine Alarm: '&amp;amp;A_Code as A_Desc;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//sample data generation&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as A_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DayName(MakeDate(2016)+Rand()*10) as A_Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Rand()) as A_Time,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Ceil(Rand()*10)+100,'000') as A_Code&lt;/P&gt;
&lt;P&gt;AutoGenerate 300;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 22:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102029#M365455</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-07-06T22:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping times into intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102030#M365456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great!!! Thank you!! I especially appreciate the chart examples, I wouldn't have thought of some of them. I'm going with the variable input for now as it seems to be okay performance wise and the users will love it. If it gets too slow once the full dataset is imported, I'll switch to the script solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 09:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-times-into-intervals/m-p/1102030#M365456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-07T09:37:33Z</dc:date>
    </item>
  </channel>
</rss>

