<?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: Get the name with the highest count units and least sum price in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428495#M96368</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/256596"&gt;@Itay113&lt;/a&gt;&amp;nbsp;Perhaps this way?&lt;/P&gt;
&lt;P&gt;#1,&amp;nbsp;&lt;STRONG&gt;firstSortedValue(Name, -Min({&amp;lt;Name={"=Max(Aggr(Count(Units), Name))"}&amp;gt;} Price)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;#2,&amp;nbsp;&lt;STRONG&gt;firstSortedValue(Name, -Max({&amp;lt;Name={"=Min(Price)"}&amp;gt;} Units)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 00:04:32 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2024-03-08T00:04:32Z</dc:date>
    <item>
      <title>Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428490#M96367</link>
      <description>&lt;P&gt;I have a table with these 3 columns:&lt;/P&gt;
&lt;P&gt;Name, Units, Price&lt;/P&gt;
&lt;P&gt;I want to display 2 kpi's:&lt;/P&gt;
&lt;P&gt;First, I want to display the name of the product with the highest count of units and least sum of prices&lt;/P&gt;
&lt;P&gt;Secondly, I want to to display the name of the product with highest number units and least number of price,&lt;/P&gt;
&lt;P&gt;I tried this set analysis but this didn't display anything unless I remove of the conditions:&lt;/P&gt;
&lt;P&gt;`&lt;SPAN&gt;{&amp;lt;Units = {"$(=max(Units))"}, Price = {"$(=min(Price))"}&amp;gt;} Name`&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428490#M96367</guid>
      <dc:creator>Itay113</dc:creator>
      <dc:date>2024-03-07T23:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428495#M96368</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/256596"&gt;@Itay113&lt;/a&gt;&amp;nbsp;Perhaps this way?&lt;/P&gt;
&lt;P&gt;#1,&amp;nbsp;&lt;STRONG&gt;firstSortedValue(Name, -Min({&amp;lt;Name={"=Max(Aggr(Count(Units), Name))"}&amp;gt;} Price)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;#2,&amp;nbsp;&lt;STRONG&gt;firstSortedValue(Name, -Max({&amp;lt;Name={"=Min(Price)"}&amp;gt;} Units)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 00:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428495#M96368</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-03-08T00:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428654#M96382</link>
      <description>&lt;P&gt;I get that I missing `)` or `,` in both of them, I tried to add `)` at the end but then I get that nested aggregation not allowed&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 09:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428654#M96382</guid>
      <dc:creator>Itay113</dc:creator>
      <dc:date>2024-03-08T09:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428999#M96401</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/256596"&gt;@Itay113&lt;/a&gt;&amp;nbsp;Do you have sample data set that I can look? Please feel free to add the outcome as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 15:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2428999#M96401</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-03-09T15:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429003#M96402</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Itay113_0-1709997068917.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161670i2E9EEF2B3F2B187F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Itay113_0-1709997068917.png" alt="Itay113_0-1709997068917.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Itay113_1-1709997081751.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161671i239F0D55A380FD73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Itay113_1-1709997081751.png" alt="Itay113_1-1709997081751.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Itay113_2-1709997093678.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161672i6ACBC1B646F1B19C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Itay113_2-1709997093678.png" alt="Itay113_2-1709997093678.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 15:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429003#M96402</guid>
      <dc:creator>Itay113</dc:creator>
      <dc:date>2024-03-09T15:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429004#M96403</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;in this sample data I refer to UnitsOnOrder field&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 15:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429004#M96403</guid>
      <dc:creator>Itay113</dc:creator>
      <dc:date>2024-03-09T15:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429005#M96404</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/256596"&gt;@Itay113&lt;/a&gt;&amp;nbsp;Can you please attach as excel file or QVF that you have to see, And from that, you have 2 requests, please provide the output what you want to see.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 15:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429005#M96404</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-03-09T15:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429006#M96405</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;this app has sample fake data of what I am actually working on, in my real data each name may occur couple of times so I want to display 1 kpi that shows a single name that has&amp;nbsp;&lt;SPAN&gt;the highest count of UnitsOnOrder and the least sum of PricePerUnit, 2 kpi that shows a single name that has the highest UnitsOnOrder and the least PricePerUnit&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 15:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429006#M96405</guid>
      <dc:creator>Itay113</dc:creator>
      <dc:date>2024-03-09T15:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get the name with the highest count units and least sum price</title>
      <link>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429008#M96406</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/256596"&gt;@Itay113&lt;/a&gt;&amp;nbsp;Thanks for the file,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KPI#1,&amp;nbsp;&lt;SPAN&gt;that has&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the highest count of UnitsOnOrder and the least sum of PricePerUnit&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For this, It means&amp;nbsp;UnitsOnOrder is 39 and associated to PricePerUnit is 18, So the outcome should be "Chai"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anil_Babu_Samineni_0-1709999053876.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161673i9D9B1E945358DA70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anil_Babu_Samineni_0-1709999053876.png" alt="Anil_Babu_Samineni_0-1709999053876.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;KPI#2,&amp;nbsp;&lt;SPAN&gt;that has the highest UnitsOnOrder and the least PricePerUnit&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The difference from KPI#1 to KPI#2 is that there is no Aggregate functions (Like, Count and Sum)? This case, how to calculate the output?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 15:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-the-name-with-the-highest-count-units-and-least-sum-price/m-p/2429008#M96406</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-03-09T15:47:12Z</dc:date>
    </item>
  </channel>
</rss>

