<?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: No of Unit for the top product (based on sale amount) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683593#M52051</link>
    <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Product_Name = {"=&lt;SPAN&gt;FirstSortedValue(Chr(39) &amp;amp; Product_Name &amp;amp; Chr(39), -Aggr(Sum(Amount), Product_Name))&lt;/SPAN&gt;"}&amp;gt;} [No Of Unit])&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 07:15:31 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2020-03-11T07:15:31Z</dc:date>
    <item>
      <title>No of Unit for the top product (based on sale amount)</title>
      <link>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683591#M52050</link>
      <description>&lt;P&gt;I am working on a new dashboard with KPIs&lt;/P&gt;&lt;P&gt;It will included:&lt;BR /&gt;1. Top selling product's sale amount&lt;BR /&gt;=Max(Aggr(Sum(Amount), Product_Name))&lt;/P&gt;&lt;P&gt;2. The selling product name&amp;nbsp;&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Product_Name, -Aggr(Sum(Amount), Product_Name))&lt;BR /&gt;&lt;BR /&gt;But how can I get the sum(no of unit) for this product?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 07:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683591#M52050</guid>
      <dc:creator>yipchunyu</dc:creator>
      <dc:date>2020-03-11T07:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: No of Unit for the top product (based on sale amount)</title>
      <link>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683593#M52051</link>
      <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Product_Name = {"=&lt;SPAN&gt;FirstSortedValue(Chr(39) &amp;amp; Product_Name &amp;amp; Chr(39), -Aggr(Sum(Amount), Product_Name))&lt;/SPAN&gt;"}&amp;gt;} [No Of Unit])&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 07:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683593#M52051</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-03-11T07:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: No of Unit for the top product (based on sale amount)</title>
      <link>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683649#M52056</link>
      <description>&lt;P&gt;I tried it by substitute with my field names but it returns 0 all the time.&amp;nbsp; Anything I did wrong?&lt;BR /&gt;&lt;BR /&gt;=Sum({&amp;lt;PD_Product_Name = {"=FirstSortedValue(Chr(39) &amp;amp; PD_Product_Name &amp;amp; Chr(39), -Aggr(Sum(ANP_USD), PD_Product_Name))"}&amp;gt;} CASE_COUNT)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 09:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683649#M52056</guid>
      <dc:creator>yipchunyu</dc:creator>
      <dc:date>2020-03-11T09:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: No of Unit for the top product (based on sale amount)</title>
      <link>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683668#M52059</link>
      <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Sum({&amp;lt;PD_Product_Name = {&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;'$(&lt;/STRONG&gt;&lt;/FONT&gt;=FirstSortedValue( PD_Product_Name , -Aggr(Sum(ANP_USD), PD_Product_Name))&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;)'&lt;/FONT&gt;&lt;/STRONG&gt;}&amp;gt;} CASE_COUNT)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 09:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683668#M52059</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-03-11T09:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: No of Unit for the top product (based on sale amount)</title>
      <link>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683671#M52061</link>
      <description>&lt;P&gt;It works well.&amp;nbsp; Great thx.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 09:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/No-of-Unit-for-the-top-product-based-on-sale-amount/m-p/1683671#M52061</guid>
      <dc:creator>yipchunyu</dc:creator>
      <dc:date>2020-03-11T09:51:36Z</dc:date>
    </item>
  </channel>
</rss>

