<?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: Comparing value in different rows and columns, combining rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-value-in-different-rows-and-columns-combining-rows/m-p/94971#M15252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give that a shot and report back later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2018 06:10:29 GMT</pubDate>
    <dc:creator>shuck1985</dc:creator>
    <dc:date>2018-09-06T06:10:29Z</dc:date>
    <item>
      <title>Comparing value in different rows and columns, combining rows</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-value-in-different-rows-and-columns-combining-rows/m-p/94969#M15250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with the following columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;case number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp Beginning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamps End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total Time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the following: if the case number is the same then compare end time of row 1 and beginning time of row 2. If the difference is less than 5mins, create a new row with case number, beginning timestamp of row 1, end timestamp of row 2 and total time (sum of row 1 and row 2 total time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently I am unsure how to even start so any hint or idea would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 07:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-value-in-different-rows-and-columns-combining-rows/m-p/94969#M15250</guid>
      <dc:creator>shuck1985</dc:creator>
      <dc:date>2018-09-05T07:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing value in different rows and columns, combining rows</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-value-in-different-rows-and-columns-combining-rows/m-p/94970#M15251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within an ordered load you could with interrecord-functions like &lt;A href="https://community.qlik.com/docs/DOC-9314"&gt;Peek() or Previous() ?&lt;/A&gt; check the values from other records to calculate anything and/or to create new fields. I think in your case you could create your needed/changed values within one ore more new fields and also setting a flag of 0 or 1 to identify your needed records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this you load this table resident by using the flag and concatenate the records to it again by replacing the origin fields with the new created ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 12:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-value-in-different-rows-and-columns-combining-rows/m-p/94970#M15251</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-05T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing value in different rows and columns, combining rows</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-value-in-different-rows-and-columns-combining-rows/m-p/94971#M15252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give that a shot and report back later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-value-in-different-rows-and-columns-combining-rows/m-p/94971#M15252</guid>
      <dc:creator>shuck1985</dc:creator>
      <dc:date>2018-09-06T06:10:29Z</dc:date>
    </item>
  </channel>
</rss>

