<?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: Top 3 products using AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662127#M729306</link>
    <description>&lt;P&gt;Sean, have a look at the following Design Blog posts, they may give you another way to go on this one:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 15:03:51 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-01-02T15:03:51Z</dc:date>
    <item>
      <title>Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661879#M729300</link>
      <description>&lt;P&gt;Dear Team -&lt;/P&gt;&lt;P&gt;I need to display top 3 products in a straight table based on attached data.&lt;/P&gt;&lt;P&gt;when i select a specific product from the list box the straight table should display top3.&lt;/P&gt;&lt;P&gt;when i select two product from the list box, the straight table should display top3 of each product it total 6 rows i should get i.e first top 3 of product 1 and next top 3 of product 2.&lt;/P&gt;&lt;P&gt;Appreciate your help. I am struggling using AGGR and rank.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sen.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661879#M729300</guid>
      <dc:creator>Sean_BI</dc:creator>
      <dc:date>2024-11-16T01:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661883#M729301</link>
      <description>&lt;P&gt;Your Data only contains two products. How would you show top 3. Also for same Product and Same customer ID there is different Sold that means it's not a complete data.&lt;/P&gt;&lt;P&gt;Can you please provide more sample data with expected output?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 17:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661883#M729301</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-01T17:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661918#M729302</link>
      <description>&lt;P&gt;thanks Kush.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've updated the sheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sheet 1 has actual data and sheet2 is expected which displays Top 3.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sean.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 06:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661918#M729302</guid>
      <dc:creator>Sean_BI</dc:creator>
      <dc:date>2020-01-02T06:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661920#M729303</link>
      <description>&lt;P&gt;Are you looking for something like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 762px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26246i137D9346BF6DE050/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 06:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661920#M729303</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-01-02T06:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661927#M729304</link>
      <description>&lt;P&gt;Also, i need to show only Two fields like&lt;/P&gt;&lt;P&gt;Product,Top3&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Sean.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661927#M729304</guid>
      <dc:creator>Sean_BI</dc:creator>
      <dc:date>2020-01-02T07:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661933#M729305</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 203px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26247i50DEDA746AD718E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If so, go to presentation tab and use 'Hide Column' for customer code.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1661933#M729305</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-01-02T07:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662127#M729306</link>
      <description>&lt;P&gt;Sean, have a look at the following Design Blog posts, they may give you another way to go on this one:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 15:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662127#M729306</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-01-02T15:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662639#M729307</link>
      <description>&lt;P&gt;The expected output should be as per attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer to sheet "Expected 2" where each product is summed up based on top 2.&lt;/P&gt;&lt;P&gt;Example: Sum of Top2 price for Sky board is 98000&lt;/P&gt;&lt;P&gt;Similarly, Sum of Top2 price for Travel Equipment is 1100000 etc...&lt;/P&gt;&lt;P&gt;Appreciate if anyone can help on this ranking and using aggr().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2020 15:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662639#M729307</guid>
      <dc:creator>Sean_BI</dc:creator>
      <dc:date>2020-01-04T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662644#M729308</link>
      <description>&lt;P&gt;Create a table chart&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=sum(total &amp;lt;Product&amp;gt;aggr(if(rank( sum([Price($)]),0,4)&amp;lt;=2,sum([Price($)])),Product,[Customer Code]))&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 04 Jan 2020 19:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662644#M729308</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-04T19:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662659#M729310</link>
      <description>&lt;P&gt;Thank you Kush. This works for one month data. How to get this work for YTD. For example, I have data for April, May,&amp;nbsp; June and display top 20 YTD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 06:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662659#M729310</guid>
      <dc:creator>Sean_BI</dc:creator>
      <dc:date>2020-01-05T06:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662665#M729312</link>
      <description>&lt;P&gt;share sample data to work with?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 11:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662665#M729312</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-05T11:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662671#M729313</link>
      <description>&lt;P&gt;Thank you for your response kush.&lt;/P&gt;&lt;P&gt;I've attached the sample data.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;sean.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 12:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662671#M729313</guid>
      <dc:creator>Sean_BI</dc:creator>
      <dc:date>2020-01-05T12:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 products using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662672#M729315</link>
      <description>&lt;P&gt;try below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=sum(total &amp;lt;Product&amp;gt;{&amp;lt;Period,Year,Month,Period={"&amp;gt;=$(=yearstart(max(Period)))&amp;lt;=$(=max(Period))"}&amp;gt;}
aggr(if(rank( sum({&amp;lt;Period,Year,Month,Period={"&amp;gt;=$(=yearstart(max(Period)))&amp;lt;=$(=max(Period))"}&amp;gt;}[Price($)]),0,4)&amp;lt;=2,
sum({&amp;lt;Period,Year,Month,Period={"&amp;gt;=$(=yearstart(max(Period)))&amp;lt;=$(=max(Period))"}&amp;gt;}[Price($)])),Product,[Customer Code]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 13:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-products-using-AGGR/m-p/1662672#M729315</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-05T13:24:41Z</dc:date>
    </item>
  </channel>
</rss>

