<?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: Alternate fuction to Lastvalue() in the script, as it is consuming huge memory while reloading ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-fuction-to-Lastvalue-in-the-script-as-it-is-consuming/m-p/1600704#M444255</link>
    <description>&lt;P&gt;Perhaps you can use Peek() to get the results from the previous load:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table_A:
load A,B,c ... from xyz.qvd;

Let vA = Peek('A', -1);  //-1 gets last value loaded
Let vB = Peek('B', -1);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need them in a table, then add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table_B:
LOAD '$(vA)' as lastname_a,
  '$(vB)' as lastname_b
AUTOGENERATE 1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 05:55:01 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-07-10T05:55:01Z</dc:date>
    <item>
      <title>Alternate fuction to Lastvalue() in the script, as it is consuming huge memory while reloading ??</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-fuction-to-Lastvalue-in-the-script-as-it-is-consuming/m-p/1600699#M444254</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;we are using lastvalue() fuction in the script almost 30 times due to which the script execution taking huge memory and leads to Inconstance memory Type A error.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Table_A:&lt;/P&gt;&lt;P&gt;load A,B,c ... from xyz.qvd;&lt;/P&gt;&lt;P&gt;Tabla B:&lt;/P&gt;&lt;P&gt;load lastvalue(A) as lastname_a,&lt;/P&gt;&lt;P&gt;lastvalue(B) as lastname_b,&lt;/P&gt;&lt;P&gt;resident Table_A&amp;nbsp;;&lt;/P&gt;&lt;P&gt;like above lastvalue() fuction used almost 30 times in the script. I think replacing it with some similar fuction which will serve the purpose is going to fix this issue..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please suggest the suitable function to replace the lastvalue() fuction. Thanks Much in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-fuction-to-Lastvalue-in-the-script-as-it-is-consuming/m-p/1600699#M444254</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2024-11-16T20:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate fuction to Lastvalue() in the script, as it is consuming huge memory while reloading ?</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-fuction-to-Lastvalue-in-the-script-as-it-is-consuming/m-p/1600704#M444255</link>
      <description>&lt;P&gt;Perhaps you can use Peek() to get the results from the previous load:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table_A:
load A,B,c ... from xyz.qvd;

Let vA = Peek('A', -1);  //-1 gets last value loaded
Let vB = Peek('B', -1);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need them in a table, then add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table_B:
LOAD '$(vA)' as lastname_a,
  '$(vB)' as lastname_b
AUTOGENERATE 1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 05:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-fuction-to-Lastvalue-in-the-script-as-it-is-consuming/m-p/1600704#M444255</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-07-10T05:55:01Z</dc:date>
    </item>
  </channel>
</rss>

