<?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: Reverse FirstSortedValue NOt WOrking (0!!! Questions resolved to date) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reverse-FirstSortedValue-NOt-WOrking-0-Questions-resolved-to/m-p/472863#M176578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was niot the case - but thank I already resolved it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 23:12:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-26T23:12:15Z</dc:date>
    <item>
      <title>Reverse FirstSortedValue NOt WOrking (0!!! Questions resolved to date)</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-FirstSortedValue-NOt-WOrking-0-Questions-resolved-to/m-p/472861#M176576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can run the First Sorted Value in Order and retrieve the First Value but when placing a negative sign in front of my expression to try to retriev the Last Sorted value in the List it does not return anything when it should resolve a value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(aggr(sum({&amp;lt;Inv={"=sum({&amp;lt;VehicleGroupName={'DimensionName'}&amp;gt;}aggr(exp(sum(log(1+Value1)))-1, VehicleGroupName,Inv)) &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; (exp( SUM( TOTAL&amp;lt;VehicleGroupName, BusinessDate&amp;gt;&amp;nbsp; aggr(log(1+SUM({&amp;lt;VehicleGroupName={'DimensionName'}&amp;gt;}PValue2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /SUM({&amp;lt;VehicleGroupName={'DimensionName'}&amp;gt;}PValue3))&lt;/P&gt;&lt;P&gt; , VehicleGroupName, BusinessDate)))-1)"&lt;/P&gt;&lt;P&gt;}&amp;gt;}&lt;/P&gt;&lt;P&gt;aggr(exp(sum(log(1+Value1)))-1,Instrument)),Inv)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,-(aggr(exp( sum(log(1+Value1)))-1,Inv))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 17:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-FirstSortedValue-NOt-WOrking-0-Questions-resolved-to/m-p/472861#M176576</guid>
      <dc:creator />
      <dc:date>2013-02-26T17:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse FirstSortedValue NOt WOrking (0!!! Questions resolved to date)</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-FirstSortedValue-NOt-WOrking-0-Questions-resolved-to/m-p/472862#M176577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note (taken from the HELP), that&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If more than one value of expression share the same lowest &lt;SPAN class="Italic"&gt;sort-order&lt;/SPAN&gt;, the function will return null.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be the case? Try using the DISTINCT qualifier with the FirstSortedValue() function to force QV to return at least something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 23:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-FirstSortedValue-NOt-WOrking-0-Questions-resolved-to/m-p/472862#M176577</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-02-26T23:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse FirstSortedValue NOt WOrking (0!!! Questions resolved to date)</title>
      <link>https://community.qlik.com/t5/QlikView/Reverse-FirstSortedValue-NOt-WOrking-0-Questions-resolved-to/m-p/472863#M176578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was niot the case - but thank I already resolved it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 23:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reverse-FirstSortedValue-NOt-WOrking-0-Questions-resolved-to/m-p/472863#M176578</guid>
      <dc:creator />
      <dc:date>2013-02-26T23:12:15Z</dc:date>
    </item>
  </channel>
</rss>

