<?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: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1702584#M592712</link>
    <description>&lt;P&gt;This might be failing because, you have repeated date values. May be try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=FirstSortedValue(Amount_S,-date+Amount_S)&lt;/LI-CODE&gt;&lt;P&gt;This will make the date Field unique.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 20:39:11 GMT</pubDate>
    <dc:creator>Saravanan_Desingh</dc:creator>
    <dc:date>2020-05-15T20:39:11Z</dc:date>
    <item>
      <title>Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696770#M592702</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I have below load script :-&lt;/P&gt;&lt;P&gt;GL_TABLE:&lt;BR /&gt;LOAD&lt;BR /&gt;'PM' as SOURCE,&lt;BR /&gt;[GL Code] as GL_CODE_,&lt;BR /&gt;If([GL Code]&amp;gt;=2001010 and [GL Code]&amp;lt;=2001010,'sTOCK_') as [sTOCK_],&lt;BR /&gt;Date( Date#([Posting Date], 'MM/DD/YYYY'), 'DD/MM/YYYY') as [&lt;FONT color="#008000"&gt;date&lt;/FONT&gt;],&lt;BR /&gt;[C/D]*-1 as Amount,&lt;BR /&gt;[Cumulative Balance (LC)] as &lt;FONT color="#0000FF"&gt;Amount_S&lt;/FONT&gt;&lt;BR /&gt;FROM&lt;BR /&gt;$(vRAWPath)$(vFile201)&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;Table Box list below :-&lt;/P&gt;&lt;P&gt;GL_CODE_ ----- &lt;FONT color="#0000FF"&gt;Amount_S&lt;/FONT&gt; ----- &lt;FONT color="#008000"&gt;date&lt;/FONT&gt;&lt;BR /&gt;2001010 ----- &lt;FONT color="#FF0000"&gt;933,824.35&lt;/FONT&gt; ----- 24/04/2020&lt;BR /&gt;2001010 ----- 933,630.83 ----- 24/04/2020&lt;BR /&gt;2001010 ----- 933,622.48 ----- 24/04/2020&lt;BR /&gt;2001010 ----- 933,585.44 ----- 24/04/2020&lt;BR /&gt;2001010 ----- 933,577.09 ----- 24/04/2020&lt;/P&gt;&lt;P&gt;I need to display the latest date amount using &lt;FONT color="#FF0000"&gt;FirstSortsValaue&lt;/FONT&gt; , in order to display 933,824.35 :-&lt;/P&gt;&lt;P&gt;Expression :-&lt;BR /&gt;=&lt;FONT color="#FF0000"&gt;FirstSortedValue&lt;/FONT&gt;(&lt;FONT color="#0000FF"&gt;Amount_S&lt;/FONT&gt;,-&lt;FONT color="#008000"&gt;date&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;But i get null value , not sure where go wrong ? Hope some one can advise me.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 06:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696770#M592702</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-26T06:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696772#M592704</link>
      <description>&lt;P&gt;Can you simply try?&lt;/P&gt;&lt;P&gt;Max(&lt;SPAN&gt;Amount_S&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 07:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696772#M592704</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-04-26T07:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696773#M592705</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;I just try your expression it return max value= 1,173,155 Which is not correct.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 07:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696773#M592705</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-26T07:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696775#M592706</link>
      <description>&lt;P&gt;FirstSortedValue works on aggregated data, But your's showing non-aggregate data? If you want Max date of the value. Try&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max({&amp;lt;date={$(=Date(Max(date),'DD/MM/YYYY'))}&amp;gt;}&amp;nbsp;Amount_S)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 07:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696775#M592706</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-04-26T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696777#M592707</link>
      <description>Mr Anil&lt;BR /&gt;&lt;BR /&gt;I just try your new expression, I still get null.&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Apr 2020 07:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696777#M592707</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-26T07:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696783#M592708</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you load any other field which contains time or row id something like that?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 08:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696783#M592708</guid>
      <dc:creator>kumaranvr1984</dc:creator>
      <dc:date>2020-04-26T08:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696784#M592710</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;it work fine when i create a sample raw data file , it dont have any issue. When i apply actual data to it got issue , because in between the row have other items beside stock.&amp;nbsp; By the way &amp;nbsp;i already use filter all stock item by GL_CODE.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul Yeo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 09:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1696784#M592710</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-26T09:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Case 002 How to display the latest date amount using FirstSortsValaue = 933,824.35</title>
      <link>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1702584#M592712</link>
      <description>&lt;P&gt;This might be failing because, you have repeated date values. May be try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=FirstSortedValue(Amount_S,-date+Amount_S)&lt;/LI-CODE&gt;&lt;P&gt;This will make the date Field unique.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 20:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-002-How-to-display-the-latest-date-amount-using/m-p/1702584#M592712</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-15T20:39:11Z</dc:date>
    </item>
  </channel>
</rss>

