<?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: Rank based on two columns and should not change when filter is applied in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074568#M88145</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214517"&gt;@Braveen&lt;/a&gt;&amp;nbsp; don't understand this statement. Basically in my previous post I have provided you solution to not change the Rank based on selection&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 20:12:10 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2023-05-23T20:12:10Z</dc:date>
    <item>
      <title>Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2073851#M88076</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to create a rank based on Zone, ID and Metric 1 which should not change when ID filter is applied.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Braveen_1-1684758366341.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/107687i5F555B8B0039B027/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Braveen_1-1684758366341.png" alt="Braveen_1-1684758366341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Like say I filter for&amp;nbsp; 4, Rank should not change.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Braveen_2-1684758414079.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/107688i33CA1C5D618AB22A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Braveen_2-1684758414079.png" alt="Braveen_2-1684758414079.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have created the rank using below expression;&lt;/P&gt;
&lt;P&gt;aggr(rank(sum([Metric 1])), Zone, ID)&lt;/P&gt;
&lt;P&gt;But, rank is recalculated based on the filtered values. Would appreciate if you could share your inputs.&lt;/P&gt;
&lt;P&gt;- Braveen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2073851#M88076</guid>
      <dc:creator>Braveen</dc:creator>
      <dc:date>2023-05-22T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074030#M88092</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rank(Total sum([Metric 1]), Zone, ID)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 18:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074030#M88092</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2023-05-22T18:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074163#M88103</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49432"&gt;@Chanty4u&lt;/a&gt;&amp;nbsp;Thanks for the suggestion. This expression ranks the ID but disregarding the Zone (Rank starts as 1 and ends at 6) , also when I apply filter, rank is recalculating.&lt;/P&gt;
&lt;P&gt;I need the rank of the ID within the zone based on the Metric 1 and should not change when I apply the ID filter.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 06:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074163#M88103</guid>
      <dc:creator>Braveen</dc:creator>
      <dc:date>2023-05-23T06:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074324#M88127</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214517"&gt;@Braveen&lt;/a&gt;&amp;nbsp; Just exclude the selections of your dimensions you have used in aggr function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;aggr(rank(sum({&amp;lt;Zone=, ID=&amp;gt;}[Metric 1])), Zone, ID)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 10:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074324#M88127</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-23T10:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074527#M88142</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;It is broadly grouped like 1-20 or 1-10 as the rank for all 10/20 records.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 17:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074527#M88142</guid>
      <dc:creator>Braveen</dc:creator>
      <dc:date>2023-05-23T17:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074568#M88145</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214517"&gt;@Braveen&lt;/a&gt;&amp;nbsp; don't understand this statement. Basically in my previous post I have provided you solution to not change the Rank based on selection&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 20:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074568#M88145</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-23T20:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074856#M88161</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&amp;nbsp; This is how it looks&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Braveen_0-1684910255846.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/107904i49663342FBDC3693/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Braveen_0-1684910255846.png" alt="Braveen_0-1684910255846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 06:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074856#M88161</guid>
      <dc:creator>Braveen</dc:creator>
      <dc:date>2023-05-24T06:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rank based on two columns and should not change when filter is applied</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074931#M88171</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214517"&gt;@Braveen&lt;/a&gt;&amp;nbsp; Your Ranking will be based on State so you need to include state in Aggr instead ID. If you add more dimension in table eg. ID..exclide the selection of that as well in Set(don't include it in aggr)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;aggr(rank(sum({&amp;lt;Zone=, State=&amp;gt;}[Metric 1])), Zone,State)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 08:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-based-on-two-columns-and-should-not-change-when-filter-is/m-p/2074931#M88171</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-24T08:49:27Z</dc:date>
    </item>
  </channel>
</rss>

