<?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: Finding Dimension value for a aggregated value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-Dimension-value-for-a-aggregated-value/m-p/1281025#M846005</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;&lt;STRONG&gt;FirstSortedValue(Country, -Aggr(Sum(Sales), Country))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Mar 2017 20:50:43 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-25T20:50:43Z</dc:date>
    <item>
      <title>Finding Dimension value for a aggregated value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-Dimension-value-for-a-aggregated-value/m-p/1281024#M846004</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;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;max(aggr(sum(Sales),Country))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above expression&amp;nbsp; gives me max of sale (aggregated range) . But i want to display the country &lt;SPAN style="font-size: 13.3333px;"&gt; in a text box&lt;/SPAN&gt; , which is having max&amp;nbsp; sales (using above expression) , . Please help me with the expression .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the expression for second highest and third highest country in separate text box . Need help on the expression .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached data as well .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Shekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-Dimension-value-for-a-aggregated-value/m-p/1281024#M846004</guid>
      <dc:creator>shekhar_analyti</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Dimension value for a aggregated value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-Dimension-value-for-a-aggregated-value/m-p/1281025#M846005</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;&lt;STRONG&gt;FirstSortedValue(Country, -Aggr(Sum(Sales), Country))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Mar 2017 20:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-Dimension-value-for-a-aggregated-value/m-p/1281025#M846005</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-25T20:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Dimension value for a aggregated value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-Dimension-value-for-a-aggregated-value/m-p/1281026#M846006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For 2nd and 3rd highest, you can use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd highest&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FirstSortedValue(Country, -Aggr(Sum(Sales), Country), &lt;SPAN style="color: #ff0000;"&gt;2&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3rd highest&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FirstSortedValue(Country, -Aggr(Sum(Sales), Country), &lt;SPAN style="color: #ff0000;"&gt;3&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Mar 2017 20:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-Dimension-value-for-a-aggregated-value/m-p/1281026#M846006</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-25T20:51:59Z</dc:date>
    </item>
  </channel>
</rss>

