<?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: Analyzing 2 rows of data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Analyzing-2-rows-of-data/m-p/1423437#M807877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add a field on the same row for EventId=1 with the subsequent time for EventId=4 and flag the records that are 5 seconds or less. Something like attached. Depending on your other needs/datamodel you can add other fields and/or rows &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 16:11:51 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2017-10-24T16:11:51Z</dc:date>
    <item>
      <title>Analyzing 2 rows of data</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-2-rows-of-data/m-p/1423436#M807876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem, I would like to analyze my data 2 by 2 rows.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="58"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="58"&gt;Id&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="122"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="122"&gt;Time&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="64"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="64"&gt;EventId&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="102"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="102"&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="122"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="122"&gt;15-06-2009T13:45:30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="64"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" height="19" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="102"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="102"&gt;End_Time&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="122"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="122"&gt;15-06-2009T13:45:34&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="64"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" height="19" width="64"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="102"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="102"&gt;Something&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This is my data. For example, we have id of an operation, End_Time of an operation, EventId etc. and it is an consequent Event for the same operation. I would like to get the &lt;STRONG&gt;Count of id, &lt;/STRONG&gt;which have started with &lt;STRONG&gt;EventId = 1 &lt;/STRONG&gt;and &lt;STRONG&gt;Type = 'End_Time' &lt;/STRONG&gt;and consequent action with &lt;STRONG&gt;EventId = 4, &lt;/STRONG&gt;but the maximum difference between time should be &lt;STRONG&gt;5 seconds. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I attach excel file with more data but imagine there are many types of EventId and Type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Todor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-2-rows-of-data/m-p/1423436#M807876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing 2 rows of data</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-2-rows-of-data/m-p/1423437#M807877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add a field on the same row for EventId=1 with the subsequent time for EventId=4 and flag the records that are 5 seconds or less. Something like attached. Depending on your other needs/datamodel you can add other fields and/or rows &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 16:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-2-rows-of-data/m-p/1423437#M807877</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2017-10-24T16:11:51Z</dc:date>
    </item>
  </channel>
</rss>

