<?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 Max function to find results in a different dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-function-to-find-results-in-a-different-dimension/m-p/1732522#M721329</link>
    <description>&lt;P&gt;I am trying to use the max result from a field to produce a value from another field.&amp;nbsp; For example in the simple chart below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simple chart.jpg" style="width: 226px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38418i25731E34505D85ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="simple chart.jpg" alt="simple chart.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like have a listbox for month and 2 text boxes for results&lt;/P&gt;&lt;P&gt;first text box would produce max count of sales in the selected month by a company (if month J is selected the result would be 3 because company A has a total of 3 entries in month J)&lt;/P&gt;&lt;P&gt;second text box would produce the company name that has the most entries in a given month(if month J is selected the result would be "A"&amp;nbsp; as the company has 3 entries which is the most for any company in month J).&lt;/P&gt;&lt;P&gt;I have tried aggr and concat but cannot get them to work the way i would like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:12:40 GMT</pubDate>
    <dc:creator>EGilbert</dc:creator>
    <dc:date>2024-11-16T00:12:40Z</dc:date>
    <item>
      <title>Max function to find results in a different dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-to-find-results-in-a-different-dimension/m-p/1732522#M721329</link>
      <description>&lt;P&gt;I am trying to use the max result from a field to produce a value from another field.&amp;nbsp; For example in the simple chart below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simple chart.jpg" style="width: 226px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38418i25731E34505D85ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="simple chart.jpg" alt="simple chart.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like have a listbox for month and 2 text boxes for results&lt;/P&gt;&lt;P&gt;first text box would produce max count of sales in the selected month by a company (if month J is selected the result would be 3 because company A has a total of 3 entries in month J)&lt;/P&gt;&lt;P&gt;second text box would produce the company name that has the most entries in a given month(if month J is selected the result would be "A"&amp;nbsp; as the company has 3 entries which is the most for any company in month J).&lt;/P&gt;&lt;P&gt;I have tried aggr and concat but cannot get them to work the way i would like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-to-find-results-in-a-different-dimension/m-p/1732522#M721329</guid>
      <dc:creator>EGilbert</dc:creator>
      <dc:date>2024-11-16T00:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Max function to find results in a different dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-to-find-results-in-a-different-dimension/m-p/1732558#M721330</link>
      <description>&lt;LI-CODE lang="javascript"&gt;//For value

=max(aggr(Count(Sales),Company))

//For company

=FirstSortedValue(distinct Company, -aggr(Count(Sales),Company))&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 31 Jul 2020 22:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-to-find-results-in-a-different-dimension/m-p/1732558#M721330</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-31T22:12:14Z</dc:date>
    </item>
  </channel>
</rss>

