<?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: FirstSortedValue Function Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590438#M1098680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOU CAN USE&lt;/P&gt;&lt;P&gt;FIRST SORTED VALUE(GROUND,-CAPACITY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2014 11:00:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-17T11:00:19Z</dc:date>
    <item>
      <title>FirstSortedValue Function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590432#M1098674</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;In my QVW there is a table with two columns namely &lt;STRONG&gt;Ground&lt;/STRONG&gt; and &lt;STRONG&gt;Capacity&lt;/STRONG&gt;. I want to display the name of the ground with the maximum capacity in a text object using firstsortedvalue function. I am using the below mentioned function :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Firstsortedvalue(Ground,Capacity).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know what is wrong in this Expression. As per my view, it should work properly.&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MANISH PRASAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 10:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590432#M1098674</guid>
      <dc:creator>manpri7078</dc:creator>
      <dc:date>2014-04-17T10:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590433#M1098675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Firstsortedvalue(Ground,-Capacity)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&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;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 10:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590433#M1098675</guid>
      <dc:creator />
      <dc:date>2014-04-17T10:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590434#M1098676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;will give you Ground for Min Capacity...&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: 12.800000190734863px;"&gt;=Firstsortedvalue(Ground,Capacity).&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: 12.800000190734863px;"&gt;&lt;BR /&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: 12.800000190734863px;"&gt;For Max Capacity... use -Capacity&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: 12.800000190734863px;"&gt;=Firstsortedvalue(Ground,-Capacity).&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: 12.800000190734863px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 10:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590434#M1098676</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-17T10:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590435#M1098677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another options...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(IF(Capacity = Max(TOTAL Capacity), Ground),Ground)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 10:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590435#M1098677</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-17T10:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590436#M1098678</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;&lt;/P&gt;&lt;P&gt;Firstsortedvalue(Ground,-Capacity)&lt;/P&gt;&lt;P&gt;if your capacity field haave some aggregation on particular field then try this&lt;/P&gt;&lt;P&gt;Firstsortedvalue(Ground,-aggr(Capacity,aggrfieldname)&lt;/P&gt;&lt;P&gt;here in both - sign indicate to max ground name on basis of capacity&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 10:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590436#M1098678</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-04-17T10:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590437#M1098679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no error in the script of firstsorted&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;=Firstsortedvalue(Ground,Capacity) &amp;gt;&amp;gt; will give you min value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Firstsortedvalue(Ground,-Capacity) &amp;gt;&amp;gt;will give you max value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use minstring and maxstring&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MinString(Capacity) for minimum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MaxString(Capacity) for maximum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 10:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590437#M1098679</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-17T10:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Function Problem</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590438#M1098680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOU CAN USE&lt;/P&gt;&lt;P&gt;FIRST SORTED VALUE(GROUND,-CAPACITY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 11:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Function-Problem/m-p/590438#M1098680</guid>
      <dc:creator />
      <dc:date>2014-04-17T11:00:19Z</dc:date>
    </item>
  </channel>
</rss>

