<?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 remove last Date from table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040511#M524097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max(date)-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 06:41:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-22T06:41:27Z</dc:date>
    <item>
      <title>how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040507#M524093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove last Date records from Table Dynamically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;01/01/2016&lt;/P&gt;&lt;P&gt;02/01/2016&lt;/P&gt;&lt;P&gt;03/01/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I need to remove 03/01/2016. I need to do this dynamically why because after some time the date may be change. Guys can u please help me on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Abi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040507#M524093</guid>
      <dc:creator />
      <dc:date>2016-03-22T06:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040508#M524094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried &lt;/P&gt;&lt;P&gt;Max(date)-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040508#M524094</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2016-03-22T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040509#M524095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell us what is the purpose of removing last date ? Do you want to achieve it from front end or back end? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040509#M524095</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-22T06:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040510#M524096</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;Try 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;Date,&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left JOin(Temp)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Max(Date) AS Date,&lt;/P&gt;&lt;P&gt;1 AS Flag&lt;/P&gt;&lt;P&gt;RESIDENT Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;LOAd&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;RESIDENT Temp&lt;/P&gt;&lt;P&gt;WHERE Flag &amp;lt;&amp;gt; 1;&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;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040510#M524096</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-22T06:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040511#M524097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max(date)-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040511#M524097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T06:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040512#M524098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Temp:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Max(Date) as MxDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;let vMaxDate = peek('Date', 0,'Temp');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Drop table Temp;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;FinalTab:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Load *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;FRM DataSource&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Where Date &amp;lt; $(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxDate&lt;/SPAN&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 06:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040512#M524098</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2016-03-22T06:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040513#M524099</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;t1:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;01/01/2016&lt;/P&gt;&lt;P&gt;02/01/2016&lt;/P&gt;&lt;P&gt;03/01/2016 ];&lt;/P&gt;&lt;P&gt;Let vLast = FieldValue('Date',NoOfRows('t1'));&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;t2: &lt;/P&gt;&lt;P&gt; Load *&lt;/P&gt;&lt;P&gt; Resident t1&lt;/P&gt;&lt;P&gt; Where Date&amp;lt;&amp;gt;'$(vLast)';&lt;/P&gt;&lt;P&gt;DROP Table t1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 07:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040513#M524099</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-22T07:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040514#M524100</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;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max(Date_Field ) as Latest_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and later&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Date_Field &amp;lt;&amp;gt; max(Date_Field);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 07:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040514#M524100</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-03-22T07:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040515#M524101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Noconcatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT Temp&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE Flag &amp;lt;&amp;gt; 1 &lt;STRONG&gt;Or IsNull(Flag);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 07:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040515#M524101</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-22T07:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040516#M524102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jonathan&lt;/P&gt;&lt;P&gt;I guess&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;WHERE Flag &amp;lt;&amp;gt; 1&lt;/STRONG&gt; alone is good enough here. Am I missing something? The Isnull() would be implicit here.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 07:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040516#M524102</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-03-22T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove last Date from table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040517#M524103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I though QV was like SQL here; but I tested this scenario and you are quite correct. Keep on learning &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, 23 Mar 2016 05:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-last-Date-from-table/m-p/1040517#M524103</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-23T05:06:58Z</dc:date>
    </item>
  </channel>
</rss>

