<?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 Get last value from QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-last-value-from-QVD/m-p/666948#M1073808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do a incremental reload. FOr that, I need to get the last value from a QVD file (It is ordered from min. first, to max as last record).&lt;/P&gt;&lt;P&gt;This is what I'm doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[TEMP_TABLE]:&lt;/P&gt;&lt;P&gt;LOAD CAS_TRANSIT_ID,NAME FROM ..\..\Datos\QVDs\Procesados\Consumos_EBI_Excel_v2.qvd (qvd); &lt;/P&gt;&lt;P&gt;LET vLastValue= PEEK(CAS_TRANSIT_ID,-1,TEMP_TABLE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I see the vLastValue in the variable inspector, it has no value!&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 15:15:01 GMT</pubDate>
    <dc:creator>cristian_av</dc:creator>
    <dc:date>2014-07-28T15:15:01Z</dc:date>
    <item>
      <title>Get last value from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-value-from-QVD/m-p/666948#M1073808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do a incremental reload. FOr that, I need to get the last value from a QVD file (It is ordered from min. first, to max as last record).&lt;/P&gt;&lt;P&gt;This is what I'm doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[TEMP_TABLE]:&lt;/P&gt;&lt;P&gt;LOAD CAS_TRANSIT_ID,NAME FROM ..\..\Datos\QVDs\Procesados\Consumos_EBI_Excel_v2.qvd (qvd); &lt;/P&gt;&lt;P&gt;LET vLastValue= PEEK(CAS_TRANSIT_ID,-1,TEMP_TABLE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I see the vLastValue in the variable inspector, it has no value!&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 15:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-value-from-QVD/m-p/666948#M1073808</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2014-07-28T15:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get last value from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-value-from-QVD/m-p/666949#M1073809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you needt to put the expression in '&lt;/P&gt;&lt;P&gt;peek('CAS_TRANSIT_ID',-1,'TEMP_TABLE')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 15:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-value-from-QVD/m-p/666949#M1073809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-28T15:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get last value from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-value-from-QVD/m-p/666950#M1073810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it!&lt;/P&gt;&lt;P&gt;I had to use '' in peek. I have no idea why... in somefunctions I don't have to use the ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this:&lt;/P&gt;&lt;P&gt;LET vLastValue= PEEK('CAS_TRANSIT_ID',-1,TEMP_TABLE);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 15:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-value-from-QVD/m-p/666950#M1073810</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2014-07-28T15:17:26Z</dc:date>
    </item>
  </channel>
</rss>

