<?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 5 records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110088#M918299</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;Logic can be Load table with descending order and load first 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2016 06:47:48 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2016-05-10T06:47:48Z</dc:date>
    <item>
      <title>Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110085#M918296</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 loading data from excel sheet and this excel get updated in every 5 minute. Data is look like as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; border-image: none; width: 100%;"&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;Date&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;Value1&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;Value2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5/9/2016&amp;nbsp; 3:15:47 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5/9/2016&amp;nbsp; 3:20:47 AM&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;27&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to load last 5 records. I know about first 5 but there is no Last 5.&lt;/P&gt;&lt;P&gt;Can anyone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&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/Last-5-records/m-p/1110085#M918296</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110086#M918297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the logic of incremental load with update.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9531"&gt;Incremental Load in Qlikview - Sources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 06:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110086#M918297</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2016-05-10T06:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110087#M918298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD Date,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FROM Table:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;New:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;noconcatenate &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;First 5 LOAD *&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;resident Data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;order by Date desc;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;drop table Data;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 06:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110087#M918298</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-10T06:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110088#M918299</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;Logic can be Load table with descending order and load first 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 06:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110088#M918299</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-05-10T06:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110089#M918300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way where we will load only last 5 records from excel. This solution is correct but here first we need to load all the records, assume later stage when lacs of record is there then it will take time load. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 06:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110089#M918300</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2016-05-10T06:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110090#M918301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah but you cannot load the last five data directly without loading them all and perform sorting . You can directly load 5 records but it will pick random 5 records which will not be the correct solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 07:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110090#M918301</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-10T07:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110091#M918302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you can perform the descending sorting on Date in excel itself and then directly load first five records like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;First 5 LOAD *&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FROM Excel&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 07:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110091#M918302</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-10T07:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110092#M918303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Count(Distinct RecNo()) as Total &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vTotalRows = (Num(Peek('Total', 0, 'Temp'))-2); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;LOAD * FROM &lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where RecNo() &amp;gt;= $(vTotalRows);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vTotalRows = Null();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 08:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110092#M918303</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-05-10T08:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Last 5 records</title>
      <link>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110093#M918304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible, If you have any last updated date column into your excel file then you can filter your first data using this date field so that the required data only will get loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 11:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-5-records/m-p/1110093#M918304</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2016-05-10T11:42:20Z</dc:date>
    </item>
  </channel>
</rss>

