<?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: Display selected rows and the x number of rows that follow in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617128#M227468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked. Thank you so much for your help. I was wondering if you could help me out again though? I have been asked (on top of the original calculation) to only display the records that occur within 2 hours of each other. So now it would have to display all scores over 17 and the record that follows it, but &lt;SPAN style="text-decoration: underline;"&gt;only&lt;/SPAN&gt; if the second record was taken within two hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 02:22:00 GMT</pubDate>
    <dc:creator>ciaran_mcgowan</dc:creator>
    <dc:date>2014-03-10T02:22:00Z</dc:date>
    <item>
      <title>Display selected rows and the x number of rows that follow</title>
      <link>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617124#M227464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm building an document that reads information from thousands of HTML files and loads them into Qlikview but I need to find a way to either (a) show the below using selectors or (b) load the data into the document described below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The information that is loaded is the UserID, an InteractionID, their Score, the InteractionTime like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="248" style="border: 1px solid rgb(0, 0, 0); width: 352px; height: 148px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: rgb(102, 144, 188); color: rgb(255, 255, 255); padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;USERID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;INTERACTIONID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SCORE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;TIME&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;021&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;15&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;09:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;021&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;17&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;09:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;021&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;10:45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;021&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;15&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;11:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;043&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;8:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;SPAN style="text-align: center;"&gt;43&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;19&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;9:45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;SPAN style="text-align: center;"&gt;43&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;17&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;10:15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;SPAN style="text-align: center;"&gt;43&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;14&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;12:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;SPAN style="text-align: center;"&gt;43&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;13:50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to only display Scores &amp;gt;= 17 but I also need to be able to see the score that follows it, even if it's less than 17 (even if it's below 17). So the above table should be shown as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="248" style="border: 1px solid #000000; width: 352px; height: 148px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;USERID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;INTERACTIONID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SCORE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;TIME&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;021&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;17&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;09:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;021&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;10:45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;SPAN style="text-align: center;"&gt;43&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;19&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;9:45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;SPAN style="text-align: center;"&gt;43&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;17&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;10:15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;SPAN style="text-align: center;"&gt;43&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;14&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;12:30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's possible using selectors and I've had no luck doing it via the load script. Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 20:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617124#M227464</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-03-08T20:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display selected rows and the x number of rows that follow</title>
      <link>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617125#M227465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can flag the records in your script like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;INPUT:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD USERID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTERACTIONID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCORE, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIME,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;if(SCORE&amp;gt;=17 or peek(SCORE)&amp;gt;=17, 1,0) as Flag&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="109994" data-objecttype="1" href="http://community.qlik.com/thread/109994"&gt;http://community.qlik.com/thread/109994&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a table box in your UI with USERID, INTERACTIONID, SCORE and TIME and select Flag = 1 in a list box to filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 20:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617125#M227465</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-08T20:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display selected rows and the x number of rows that follow</title>
      <link>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617126#M227466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ciaran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to be more flexible with your limit value you could create one field containing the maximum value of the current and the previous score:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabData:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; USERID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; INTERACTIONID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCORE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(SCORE&amp;gt;Previous(SCORE), SCORE, Previous(SCORE)) as SCORE_SELECTOR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TIME&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[&lt;A _jive_internal="true" data-containerid="2051" data-containertype="14" data-objectid="109994" data-objecttype="1" href="https://community.qlik.com/thread/109994" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;http://community.qlik.com/thread/109994&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;]&lt;/SPAN&gt;&lt;/EM&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;&lt;IMG alt="QlikCommunity_Thread_109994_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54571_QlikCommunity_Thread_109994_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_109994_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54578_QlikCommunity_Thread_109994_Pic2.JPG.jpg" /&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>Sun, 09 Mar 2014 01:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617126#M227466</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-09T01:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display selected rows and the x number of rows that follow</title>
      <link>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617127#M227467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to display the scores +/- 2 of what you have selected, this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 16:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617127#M227467</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-09T16:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Display selected rows and the x number of rows that follow</title>
      <link>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617128#M227468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked. Thank you so much for your help. I was wondering if you could help me out again though? I have been asked (on top of the original calculation) to only display the records that occur within 2 hours of each other. So now it would have to display all scores over 17 and the record that follows it, but &lt;SPAN style="text-decoration: underline;"&gt;only&lt;/SPAN&gt; if the second record was taken within two hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 02:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-selected-rows-and-the-x-number-of-rows-that-follow/m-p/617128#M227468</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-03-10T02:22:00Z</dc:date>
    </item>
  </channel>
</rss>

