<?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: how to get last record?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032471#M922781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;let vTime= peek(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;fieldname , -1, tablename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;) ..check how to use peek.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 14:51:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-27T14:51:57Z</dc:date>
    <item>
      <title>how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032467#M922777</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 am using one excel sheet in my qlikview application. this excel contains data like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="460"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="40" width="178"&gt;(PDH-CSV 4.0) (India Standard Time)(-330)&lt;/TD&gt;&lt;TD class="xl66" width="144"&gt;&lt;A href="https://community.qlik.com/" target="_blank"&gt;\\Memory\% Committed Bytes In Use&lt;/A&gt;&lt;/TD&gt;&lt;TD class="xl66" width="138"&gt;&lt;A href="https://community.qlik.com/" target="_blank"&gt;\\Processor(_Total)\% Processor Time&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="20" width="178"&gt;17:18.2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="144"&gt;42.06360428&lt;/TD&gt;&lt;TD class="xl65" width="138"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="20" width="178"&gt;17:28.2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="144"&gt;41.69832799&lt;/TD&gt;&lt;TD align="right" class="xl65" width="138"&gt;17.59109493&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="20" width="178"&gt;17:38.2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="144"&gt;41.64971858&lt;/TD&gt;&lt;TD align="right" class="xl65" width="138"&gt;12.45009383&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="20" width="178"&gt;17:48.2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="144"&gt;41.61861649&lt;/TD&gt;&lt;TD align="right" class="xl65" width="138"&gt;12.72759386&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="20" width="178"&gt;17:58.2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="144"&gt;41.63010643&lt;/TD&gt;&lt;TD align="right" class="xl65" width="138"&gt;11.94525163&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="20" width="178"&gt;18:08.2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="144"&gt;41.85406134&lt;/TD&gt;&lt;TD align="right" class="xl65" width="138"&gt;&lt;P&gt;12.58417061&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Now I want to load last loaded record for all three fields in 3 different variables during load time. For example&lt;/P&gt;&lt;P&gt;Values shold be after load:&lt;/P&gt;&lt;P&gt;vTime = 18:08:2&lt;/P&gt;&lt;P&gt;vByte = 41.85406134&lt;/P&gt;&lt;P&gt;vProcessTime = 12.58417061&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I will get this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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/how-to-get-last-record/m-p/1032467#M922777</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032468#M922778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vTime = Peek('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(PDH-CSV 4.0) (India Standard Time)(-330)', -1, 'TABLENAME');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other variables accordingly, changing the field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032468#M922778</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-27T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032469#M922779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Some one discussed by previous : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.qlikview.com/thread/68081" rel="nofollow" target="_blank"&gt;https://community.qlikview.com/thread/68081&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032469#M922779</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-04-27T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032470#M922780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Time#([(PDH-CSV 4.0) (India Standard Time)(-330)], 'mm:ss.f') as [(PDH-CSV 4.0) (India Standard Time)(-330)], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [\\Memory\% Committed Bytes In Use], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [\\Processor(_Total)\% Processor Time]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2003" data-containertype="14" data-objectid="214755" data-objecttype="1" href="https://community.qlik.com/thread/214755"&gt;https://community.qlik.com/thread/214755&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD FirstSortedValue([(PDH-CSV 4.0) (India Standard Time)(-330)], -[(PDH-CSV 4.0) (India Standard Time)(-330)]) as MaxTime,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FirstSortedValue([\\Memory\% Committed Bytes In Use], -[(PDH-CSV 4.0) (India Standard Time)(-330)]) as MaxByte,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FirstSortedValue([\\Processor(_Total)\% Processor Time], -[(PDH-CSV 4.0) (India Standard Time)(-330)]) as MaxProcessTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vTime = Peek('MaxTime', -1, 'Max');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vByte = Peek('MaxByte', -1, 'Max');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vProcessTime = Peek('MaxProcessTime', -1, 'Max');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Max;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032470#M922780</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032471#M922781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;let vTime= peek(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;fieldname , -1, tablename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;) ..check how to use peek.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032471#M922781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T14:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032472#M922782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wouldn't this require the table to be sorted correctly? As it will always pick the last value in the load? Not sure if that is what is required, but I just wanted to confirm &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032472#M922782</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T14:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032473#M922783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it was asked for '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Now I want to load&lt;EM&gt; last loaded record f&lt;/EM&gt;or all three fields in 3 different variables during load time'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what the Peek() functions return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032473#M922783</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-27T14:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032474#M922784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it won't check for the sorting, right? Just for my knowledge, OP may be looking for what you have, but I want to make sure I understand Peek() &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032474#M922784</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T15:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032475#M922785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, it won't care if the data is sorted.&lt;/P&gt;&lt;P&gt;It just returns a value from a specified row of your resident table (in this case, the last row).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the data looks like a performance monitor log, already sorted. Assumingly last record -&amp;gt; latest record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032475#M922785</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-27T15:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to get last record??</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032476#M922786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one is, but in case it isn't then last one will be picked. That makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Stefan &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-last-record/m-p/1032476#M922786</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T15:07:29Z</dc:date>
    </item>
  </channel>
</rss>

