<?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: Last 25 records with data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Last-25-records-with-data/m-p/1667963#M50396</link>
    <description>&lt;P&gt;If you are loading from a CSV, you probably cant avoid loading all the date first to do this. Something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;T_Data:
LOAD *, RowNo() as RowID
FROM &amp;lt;your data source&amp;gt;
WHERE Len(ModifiedDate) &amp;gt; 0;

Let zRowCount = Peek('RowID');

Data:
NoConcatenate
LOAD * 
Resident 
WHERE RowID &amp;gt;= $(zRowCount) - 25;

DROP Table T_Data;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2020 04:44:34 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2020-01-22T04:44:34Z</dc:date>
    <item>
      <title>Last 25 records with data</title>
      <link>https://community.qlik.com/t5/App-Development/Last-25-records-with-data/m-p/1667952#M50394</link>
      <description>&lt;P&gt;I can load the first 25 records from the ModifiedDate field with this script&lt;/P&gt;&lt;P&gt;First 25&lt;BR /&gt;Load&lt;BR /&gt;ModifiedDate&lt;/P&gt;&lt;P&gt;from DateWorksheet.csv;&lt;/P&gt;&lt;P&gt;However instead, I want to load the last 25 records with data from the ModifiedDate field so empty records are excluded. Can you help?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 03:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Last-25-records-with-data/m-p/1667952#M50394</guid>
      <dc:creator>ishanahiya</dc:creator>
      <dc:date>2020-01-22T03:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last 25 records with data</title>
      <link>https://community.qlik.com/t5/App-Development/Last-25-records-with-data/m-p/1667963#M50396</link>
      <description>&lt;P&gt;If you are loading from a CSV, you probably cant avoid loading all the date first to do this. Something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;T_Data:
LOAD *, RowNo() as RowID
FROM &amp;lt;your data source&amp;gt;
WHERE Len(ModifiedDate) &amp;gt; 0;

Let zRowCount = Peek('RowID');

Data:
NoConcatenate
LOAD * 
Resident 
WHERE RowID &amp;gt;= $(zRowCount) - 25;

DROP Table T_Data;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 04:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Last-25-records-with-data/m-p/1667963#M50396</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2020-01-22T04:44:34Z</dc:date>
    </item>
  </channel>
</rss>

