<?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 Ranking function across two dimension for a count of products in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ranking-function-across-two-dimension-for-a-count-of-products/m-p/2001811#M82986</link>
    <description>&lt;P&gt;Dear reader,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently working on a ranking function which ranks products bought by the frequency. The location of the shelf is also included, however it is currently only ranking within shelves and not across the entire shop. For example if we have a shelf A with 3 products: Apple: 3, Banana 5: Tomato: 1 and a shelf B: Cucumber: 4, Pineapple: 2, Rice: 6.&lt;/P&gt;
&lt;P&gt;I want the ranking to look like this:&lt;/P&gt;
&lt;P&gt;B: Rice&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|1&lt;/P&gt;
&lt;P&gt;A: Banana&amp;nbsp; &amp;nbsp; &amp;nbsp; |2&lt;/P&gt;
&lt;P&gt;B: Cucumber|3&lt;/P&gt;
&lt;P&gt;A: Apple&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |4&lt;/P&gt;
&lt;P&gt;B: Pineapple|5&lt;/P&gt;
&lt;P&gt;A: Tomato&amp;nbsp; &amp;nbsp; &amp;nbsp;|6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it is currently showing up as follows:&lt;/P&gt;
&lt;P&gt;A: Banana&amp;nbsp; &amp;nbsp; &amp;nbsp; |1&lt;/P&gt;
&lt;P&gt;A: Apple&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |2&lt;/P&gt;
&lt;P&gt;A: Tomato&amp;nbsp; &amp;nbsp; &amp;nbsp; |3&lt;/P&gt;
&lt;P&gt;B: Rice&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|1&lt;/P&gt;
&lt;P&gt;B: Cucumber|2&lt;/P&gt;
&lt;P&gt;B: Pineapple|3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Douwe_KB_0-1667919826114.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/93109i179766EB27ED5892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Douwe_KB_0-1667919826114.png" alt="Douwe_KB_0-1667919826114.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Image for reference of my data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently using this function for ranking:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;rank(count(Total Aantal))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Any help is appreciated!&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 15:05:31 GMT</pubDate>
    <dc:creator>Douwe_KB</dc:creator>
    <dc:date>2022-11-08T15:05:31Z</dc:date>
    <item>
      <title>Ranking function across two dimension for a count of products</title>
      <link>https://community.qlik.com/t5/App-Development/Ranking-function-across-two-dimension-for-a-count-of-products/m-p/2001811#M82986</link>
      <description>&lt;P&gt;Dear reader,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently working on a ranking function which ranks products bought by the frequency. The location of the shelf is also included, however it is currently only ranking within shelves and not across the entire shop. For example if we have a shelf A with 3 products: Apple: 3, Banana 5: Tomato: 1 and a shelf B: Cucumber: 4, Pineapple: 2, Rice: 6.&lt;/P&gt;
&lt;P&gt;I want the ranking to look like this:&lt;/P&gt;
&lt;P&gt;B: Rice&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|1&lt;/P&gt;
&lt;P&gt;A: Banana&amp;nbsp; &amp;nbsp; &amp;nbsp; |2&lt;/P&gt;
&lt;P&gt;B: Cucumber|3&lt;/P&gt;
&lt;P&gt;A: Apple&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |4&lt;/P&gt;
&lt;P&gt;B: Pineapple|5&lt;/P&gt;
&lt;P&gt;A: Tomato&amp;nbsp; &amp;nbsp; &amp;nbsp;|6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it is currently showing up as follows:&lt;/P&gt;
&lt;P&gt;A: Banana&amp;nbsp; &amp;nbsp; &amp;nbsp; |1&lt;/P&gt;
&lt;P&gt;A: Apple&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |2&lt;/P&gt;
&lt;P&gt;A: Tomato&amp;nbsp; &amp;nbsp; &amp;nbsp; |3&lt;/P&gt;
&lt;P&gt;B: Rice&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|1&lt;/P&gt;
&lt;P&gt;B: Cucumber|2&lt;/P&gt;
&lt;P&gt;B: Pineapple|3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Douwe_KB_0-1667919826114.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/93109i179766EB27ED5892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Douwe_KB_0-1667919826114.png" alt="Douwe_KB_0-1667919826114.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Image for reference of my data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently using this function for ranking:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;rank(count(Total Aantal))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Any help is appreciated!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 15:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ranking-function-across-two-dimension-for-a-count-of-products/m-p/2001811#M82986</guid>
      <dc:creator>Douwe_KB</dc:creator>
      <dc:date>2022-11-08T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking function across two dimension for a count of products</title>
      <link>https://community.qlik.com/t5/App-Development/Ranking-function-across-two-dimension-for-a-count-of-products/m-p/2001854#M82992</link>
      <description>&lt;P&gt;Hi, try with the TOTAL on the rank function, not the count:&amp;nbsp;rank(Total&amp;nbsp; count(Aantal))&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 16:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ranking-function-across-two-dimension-for-a-count-of-products/m-p/2001854#M82992</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-08T16:11:45Z</dc:date>
    </item>
  </channel>
</rss>

