<?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 Investigate Time Before Selected Time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Investigate-Time-Before-Selected-Time/m-p/392724#M146477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I've been out of the QlikView world for quite some time, and haven't kept up my skill as well as I'd have liked (in retrospect, heh). I'm struggling to solve a problem that I'm sure I've solved before using set analysis with advanced search expressions. Memory of syntax isn't serving as well as memory of event, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, here's the basic problem. I have very verbose log files that I'm analyzing. There's an event that occurs regularly that I'm trying to investigate. The event itself is not as interesting as the set of events that occur directly preceeding it. How do I select the preceeding events (say 5 minutes preceeding, or 100 events preceeding) given the events themselves?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my basic data schema, by way of Load+Select statement:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13542284921559204" jivemacro_uid="_13542284921559204"&gt;&lt;P&gt;LOAD EventLog,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RecordNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeGenerated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeWritten,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventTypeName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventCategory,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventCategoryName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SourceName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Strings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ComputerName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM BrokenAnalysis.dbo.localSysLog;&lt;/P&gt;&lt;P&gt;//-------- End Multiple Select Statements ------&lt;/P&gt;&lt;P&gt;TimeLink:&lt;/P&gt;&lt;P&gt;LOAD TimeGenerated&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,MakeDate(Year([TimeGenerated]),Month([TimeGenerated]),Day([TimeGenerated]))&lt;/P&gt;&lt;P&gt;&amp;nbsp; +MakeTime(Hour([TimeGenerated]),Minute([TimeGenerated])) As TSLink&lt;/P&gt;&lt;P&gt;RESIDENT EventLog;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 22:35:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-29T22:35:28Z</dc:date>
    <item>
      <title>Investigate Time Before Selected Time</title>
      <link>https://community.qlik.com/t5/QlikView/Investigate-Time-Before-Selected-Time/m-p/392724#M146477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I've been out of the QlikView world for quite some time, and haven't kept up my skill as well as I'd have liked (in retrospect, heh). I'm struggling to solve a problem that I'm sure I've solved before using set analysis with advanced search expressions. Memory of syntax isn't serving as well as memory of event, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, here's the basic problem. I have very verbose log files that I'm analyzing. There's an event that occurs regularly that I'm trying to investigate. The event itself is not as interesting as the set of events that occur directly preceeding it. How do I select the preceeding events (say 5 minutes preceeding, or 100 events preceeding) given the events themselves?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my basic data schema, by way of Load+Select statement:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13542284921559204" jivemacro_uid="_13542284921559204"&gt;&lt;P&gt;LOAD EventLog,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RecordNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeGenerated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeWritten,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventTypeName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventCategory,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventCategoryName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SourceName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Strings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ComputerName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM BrokenAnalysis.dbo.localSysLog;&lt;/P&gt;&lt;P&gt;//-------- End Multiple Select Statements ------&lt;/P&gt;&lt;P&gt;TimeLink:&lt;/P&gt;&lt;P&gt;LOAD TimeGenerated&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,MakeDate(Year([TimeGenerated]),Month([TimeGenerated]),Day([TimeGenerated]))&lt;/P&gt;&lt;P&gt;&amp;nbsp; +MakeTime(Hour([TimeGenerated]),Minute([TimeGenerated])) As TSLink&lt;/P&gt;&lt;P&gt;RESIDENT EventLog;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 22:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Investigate-Time-Before-Selected-Time/m-p/392724#M146477</guid>
      <dc:creator />
      <dc:date>2012-11-29T22:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Investigate Time Before Selected Time</title>
      <link>https://community.qlik.com/t5/QlikView/Investigate-Time-Before-Selected-Time/m-p/392725#M146478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check &lt;STRONG&gt;peek() &lt;/STRONG&gt;function in load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or send sample file with object (chart?) you are talking about&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2012 18:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Investigate-Time-Before-Selected-Time/m-p/392725#M146478</guid>
      <dc:creator />
      <dc:date>2012-12-01T18:58:41Z</dc:date>
    </item>
  </channel>
</rss>

