<?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 Partitioned Rank by multiple dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Partitioned-Rank-by-multiple-dimensions/m-p/1953208#M78609</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;My ultimate goal is to only show the top N lines on a map for each group.&lt;/P&gt;
&lt;P&gt;My approach is to define a rank variable and use that to select the top N to filter in the map view.&lt;/P&gt;
&lt;P&gt;I would like to create a rank variable that ranks a subset of the table based on multiple dimensions (attached) and shown below. Rank is partitioned across the "Year", "Quarter" and "Cluster" variables&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Matt_M_0-1657264297230.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83614i764DE6FCB8949344/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Matt_M_0-1657264297230.png" alt="Matt_M_0-1657264297230.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have tried two forms of the rank function:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;rank(sum(pax_count)), which produces 1 for every row&lt;/LI&gt;
&lt;LI&gt;aggr(rank(sum(pax_count)), 'Year') produces nulls&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;How can i define a rank variable partitioned across multiple dimensions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any help&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2022 07:21:43 GMT</pubDate>
    <dc:creator>Matt_M</dc:creator>
    <dc:date>2022-07-08T07:21:43Z</dc:date>
    <item>
      <title>Partitioned Rank by multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Partitioned-Rank-by-multiple-dimensions/m-p/1953208#M78609</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;My ultimate goal is to only show the top N lines on a map for each group.&lt;/P&gt;
&lt;P&gt;My approach is to define a rank variable and use that to select the top N to filter in the map view.&lt;/P&gt;
&lt;P&gt;I would like to create a rank variable that ranks a subset of the table based on multiple dimensions (attached) and shown below. Rank is partitioned across the "Year", "Quarter" and "Cluster" variables&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Matt_M_0-1657264297230.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83614i764DE6FCB8949344/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Matt_M_0-1657264297230.png" alt="Matt_M_0-1657264297230.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have tried two forms of the rank function:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;rank(sum(pax_count)), which produces 1 for every row&lt;/LI&gt;
&lt;LI&gt;aggr(rank(sum(pax_count)), 'Year') produces nulls&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;How can i define a rank variable partitioned across multiple dimensions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any help&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 07:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Partitioned-Rank-by-multiple-dimensions/m-p/1953208#M78609</guid>
      <dc:creator>Matt_M</dc:creator>
      <dc:date>2022-07-08T07:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Partitioned Rank by multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Partitioned-Rank-by-multiple-dimensions/m-p/1955301#M78781</link>
      <description>&lt;P&gt;Perhaps what you need is the following to achieve your objective?&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/Grouping-measure-data-into-ranges.htm" target="_blank"&gt;Grouping measure data into ranges&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 13 Jul 2022 14:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Partitioned-Rank-by-multiple-dimensions/m-p/1955301#M78781</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-07-13T14:19:11Z</dc:date>
    </item>
  </channel>
</rss>

