<?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 based on AGGR and two dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/FirstSortedValue-based-on-AGGR-and-two-dimensions/m-p/1555710#M40197</link>
    <description>&lt;P&gt;Dim1:&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim2:&lt;/P&gt;&lt;P&gt;Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;if(rank(Sum(Sales))=1,&lt;BR /&gt;&amp;nbsp;sum(Sales)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Uncheck "Include zero values" under Add-ons.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 01:28:25 GMT</pubDate>
    <dc:creator>NZFei</dc:creator>
    <dc:date>2019-03-13T01:28:25Z</dc:date>
    <item>
      <title>FirstSortedValue based on AGGR and two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSortedValue-based-on-AGGR-and-two-dimensions/m-p/1555650#M40086</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;the situation is as presented below. On the left source data, on the right - what I'm trying to get. Important! I want to calculate it in a table on a sheet.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fsv1.png" style="width: 522px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7840i71B79797C70326A3/image-dimensions/522x219?v=v2" width="522" height="219" role="button" title="fsv1.png" alt="fsv1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I've tried is presented below but the FSV function returns incorrect results. Can you pls advice where is the mistake?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fsv2.png" style="width: 641px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7842iBED5288CEDB4DA56/image-dimensions/641x374?v=v2" width="641" height="374" role="button" title="fsv2.png" alt="fsv2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;QVF is attached.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSortedValue-based-on-AGGR-and-two-dimensions/m-p/1555650#M40086</guid>
      <dc:creator>piotr-bratek</dc:creator>
      <dc:date>2024-11-16T06:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue based on AGGR and two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSortedValue-based-on-AGGR-and-two-dimensions/m-p/1555707#M40196</link>
      <description>&lt;P&gt;Hi Piotr,&lt;/P&gt;&lt;P&gt;You were pretty close &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;firstsortedvalue(Country, -aggr(max(Sales), Product&lt;STRONG&gt;,Country&lt;/STRONG&gt;))&lt;/P&gt;&lt;P&gt;PFA example.&lt;/P&gt;&lt;P&gt;//Andrei&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 01:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSortedValue-based-on-AGGR-and-two-dimensions/m-p/1555707#M40196</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2019-03-13T01:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue based on AGGR and two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSortedValue-based-on-AGGR-and-two-dimensions/m-p/1555710#M40197</link>
      <description>&lt;P&gt;Dim1:&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim2:&lt;/P&gt;&lt;P&gt;Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;if(rank(Sum(Sales))=1,&lt;BR /&gt;&amp;nbsp;sum(Sales)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Uncheck "Include zero values" under Add-ons.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 01:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSortedValue-based-on-AGGR-and-two-dimensions/m-p/1555710#M40197</guid>
      <dc:creator>NZFei</dc:creator>
      <dc:date>2019-03-13T01:28:25Z</dc:date>
    </item>
  </channel>
</rss>

