<?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: filter only the maximum value per seller in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/filter-only-the-maximum-value-per-seller/m-p/2095459#M89749</link>
    <description>&lt;P&gt;Hi, Like this in the load script&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;LOAD Seller, &lt;BR /&gt;Reseller, &lt;BR /&gt;Value&lt;BR /&gt;&lt;BR /&gt;FROM MainTable;&lt;/P&gt;
&lt;P&gt;Inner Join&lt;BR /&gt;LOAD Seller,&lt;BR /&gt;Max(Value) as Value&lt;BR /&gt;Resident Data&lt;BR /&gt;Group by Seller;&lt;/P&gt;
&lt;P&gt;or this at the front end&lt;/P&gt;
&lt;P&gt;Dimensions: Seller and Reseller&lt;/P&gt;
&lt;P&gt;Measure: Sum(Aggr(If(Value = Max(TOTAL &amp;lt;Seller&amp;gt; Value),Sum(Value)), Seller, Value))&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 22:13:34 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2023-07-19T22:13:34Z</dc:date>
    <item>
      <title>filter only the maximum value per seller</title>
      <link>https://community.qlik.com/t5/App-Development/filter-only-the-maximum-value-per-seller/m-p/2095408#M89745</link>
      <description>&lt;P&gt;Hi, everyone! I'm new to Qlik, I'm trying to filter only the max value (Column Value) per Seller. I have a table like this:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Seller&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Reseller&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Guy 1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;AAA&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;U$ 100.00&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Guy 1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;BBB&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;U$ 90.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Guy 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;AAA&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;U$ 80.00&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Guy 2&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;CCC&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;U$ 70.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Guy 3&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;BBB&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;U$ 60.00&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Total:&amp;nbsp; U$ 400.00&lt;/P&gt;
&lt;P&gt;And I want an output like that:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Seller&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Reseller&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Guy 1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;AAA&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;U$ 100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Guy 2&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;AAA&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;U$ 80.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Guy 3&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;BBB&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;U$ 60.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Total: U$ 240.00&lt;/P&gt;
&lt;P&gt;I've trying to use the rank() function to filter everything based on the rank number 1, but I was not able to click and filter all my KPI's based on the result of this function in the table. Anybody have some idea how to solve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 18:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/filter-only-the-maximum-value-per-seller/m-p/2095408#M89745</guid>
      <dc:creator>MatheusMS</dc:creator>
      <dc:date>2023-07-19T18:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: filter only the maximum value per seller</title>
      <link>https://community.qlik.com/t5/App-Development/filter-only-the-maximum-value-per-seller/m-p/2095459#M89749</link>
      <description>&lt;P&gt;Hi, Like this in the load script&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;LOAD Seller, &lt;BR /&gt;Reseller, &lt;BR /&gt;Value&lt;BR /&gt;&lt;BR /&gt;FROM MainTable;&lt;/P&gt;
&lt;P&gt;Inner Join&lt;BR /&gt;LOAD Seller,&lt;BR /&gt;Max(Value) as Value&lt;BR /&gt;Resident Data&lt;BR /&gt;Group by Seller;&lt;/P&gt;
&lt;P&gt;or this at the front end&lt;/P&gt;
&lt;P&gt;Dimensions: Seller and Reseller&lt;/P&gt;
&lt;P&gt;Measure: Sum(Aggr(If(Value = Max(TOTAL &amp;lt;Seller&amp;gt; Value),Sum(Value)), Seller, Value))&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 22:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/filter-only-the-maximum-value-per-seller/m-p/2095459#M89749</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-07-19T22:13:34Z</dc:date>
    </item>
  </channel>
</rss>

