<?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: QlikView Script - activity between timestamps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1256000#M622181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 21:46:15 GMT</pubDate>
    <dc:creator>us_enterprise_s</dc:creator>
    <dc:date>2017-03-24T21:46:15Z</dc:date>
    <item>
      <title>QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255993#M622174</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;I would like to ask the experts here, what would the best approach be to solve this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a file with about half a million records. Each task (record in the file) has two timestamps (task start, task end).&lt;/P&gt;&lt;P&gt;I would like to be able to tell, at any point in time, whether there was any activity (tasks in progress), how many unique tasks were in progress, total idle time (no tasks in progress), etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can point me to some reading material on how to do this, I will be very thankful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255993#M622174</guid>
      <dc:creator>mszuberl</dc:creator>
      <dc:date>2017-02-10T19:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255994#M622175</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;Create one more filed where in you diduct task end time and task start time..Hope with this u can indetify the status..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again to go specific ,u can put if condn to create tht extra columns something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (taskend-taskstart&amp;gt;=so n so,'status1',if(follow other if condn to bring all status))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255994#M622175</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-10T19:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255995#M622176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get an idea about how to prepare for this kind of analysis, you should read the QV Desktop help article on the INTERVALMATCH script prefix. IIRC it includes an example with employee work start/stop times and manages to deduce stuff like "how many employees were at work at any time of day".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255995#M622176</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-02-10T21:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255996#M622177</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 helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2940"&gt;Creating Reference Dates for Intervals&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4310"&gt;IntervalMatch and Slowly Changing Dimensions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&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>Fri, 10 Feb 2017 23:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255996#M622177</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-02-10T23:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255997#M622178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for these very helpful links!&lt;/P&gt;&lt;P&gt;I like the &lt;A _jive_internal="true" data-containerid="2588" data-containertype="37" data-objectid="2940" data-objecttype="38" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/12/reference-dates" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; text-decoration: underline;"&gt;Creating Reference Dates for Intervals&lt;/A&gt; approach very much, however, I am concerned with the number of records I would need to generate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I typically deal with a datasets of around 250,000 records (policies in HIC's example; radiology equipment activity logs in my case), covering 12 months. Each record contains two timestamps (Scan Start Time and Scan End Time, along with scanner identifier and many other, non-critical fields).&lt;/P&gt;&lt;P&gt;These timestamps need to be analyzed using 1-minute intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using HIC's approach, I would need to generate 250,000 * 365 * 1440 records in the "Policies_x_ Dates" table. That's 131,400,000,000 records! I think this is beyond my memory and CPU limitations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another, less memory and CPU intensive, way to figure out which machines were on at any point in time, total idle time, total busy time, etc. (all based on master calendar selections)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 04:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255997#M622178</guid>
      <dc:creator>mszuberl</dc:creator>
      <dc:date>2017-02-13T04:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255998#M622179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 23:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255998#M622179</guid>
      <dc:creator>mszuberl</dc:creator>
      <dc:date>2017-02-13T23:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255999#M622180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/996667"&gt;Re: While loop for creating dates between 1985 and 2016 - performance issues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16887"&gt;Subroutine to Create Data Model for From/To Date Selection&lt;/A&gt;&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>Mon, 13 Feb 2017 23:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1255999#M622180</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-02-13T23:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Script - activity between timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1256000#M622181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 21:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Script-activity-between-timestamps/m-p/1256000#M622181</guid>
      <dc:creator>us_enterprise_s</dc:creator>
      <dc:date>2017-03-24T21:46:15Z</dc:date>
    </item>
  </channel>
</rss>

