<?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 Max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771205#M717861</link>
    <description>&lt;P&gt;Sorry another quick question.&lt;/P&gt;&lt;P&gt;Is there a way to calculate the firstsortedvalue when the Executed field = Y.&lt;/P&gt;&lt;P&gt;Something like&amp;nbsp;FirstSortedValue({Executed={'Y'},Buyer,-Price)?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 30 Dec 2020 14:12:00 GMT</pubDate>
    <dc:creator>danielnevitt</dc:creator>
    <dc:date>2020-12-30T14:12:00Z</dc:date>
    <item>
      <title>Firstsortedvalue Max</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771059#M717857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have data which shows the price (field name Price) bid in different markets.&lt;/P&gt;&lt;P&gt;I would like to create an expression which returns the below for each of the highest Prices:&lt;/P&gt;&lt;P&gt;MarketMaker, Price, Quantity&lt;/P&gt;&lt;P&gt;I thought it would be something like&amp;nbsp;FirstSortedValue(MarketMaker,-aggr(Max(C1Price),MarketMaker)), however this doesn't always return a value.&amp;nbsp; Would this expression not work if more than one value are the maximum Price?&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 16:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771059#M717857</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2020-12-29T16:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Firstsortedvalue Max</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771063#M717858</link>
      <description>&lt;P&gt;How about simply this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(MarketMaker, -Price)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 16:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771063#M717858</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-12-29T16:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Firstsortedvalue Max</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771065#M717859</link>
      <description>&lt;P&gt;Thanks again for the quick reply.&lt;/P&gt;&lt;P&gt;Would that expression work if there are more than one value with the maximum price?&amp;nbsp; Also does it recognise negative values?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 16:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771065#M717859</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2020-12-29T16:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Firstsortedvalue Max</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771066#M717860</link>
      <description>&lt;P&gt;I can say yes for both cases.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 16:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771066#M717860</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-12-29T16:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Firstsortedvalue Max</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771205#M717861</link>
      <description>&lt;P&gt;Sorry another quick question.&lt;/P&gt;&lt;P&gt;Is there a way to calculate the firstsortedvalue when the Executed field = Y.&lt;/P&gt;&lt;P&gt;Something like&amp;nbsp;FirstSortedValue({Executed={'Y'},Buyer,-Price)?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 14:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771205#M717861</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2020-12-30T14:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Firstsortedvalue Max</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771500#M717862</link>
      <description>&lt;P&gt;Yes, Perhaps this way&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Buyer,-Sum({&amp;lt;Executed={'Y'}&amp;gt;} Price))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2021 20:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-Max/m-p/1771500#M717862</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-02T20:54:04Z</dc:date>
    </item>
  </channel>
</rss>

