<?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: How to Fix Rank Duplicate and also ordering in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2419087#M95477</link>
    <description>&lt;P&gt;Sorry,&amp;nbsp;&lt;SPAN&gt;there was a mistake in the old one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Aggr( Rank(TOTAL Sum([Subtotal. Std.],4,1),[Technical Account Name] , Last_Approver, [Created by User],[Purchase Order No.])&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Kind Regards,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;TA.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 07:25:39 GMT</pubDate>
    <dc:creator>theoat</dc:creator>
    <dc:date>2024-02-15T07:25:39Z</dc:date>
    <item>
      <title>How to Fix Rank Duplicate and also ordering</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2418914#M95461</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KevinJ_0-1707928656489.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159770i50EDB2543A3029DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KevinJ_0-1707928656489.png" alt="KevinJ_0-1707928656489.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see in the data there is two rank 27 because of the same amount after rank 27 the next rank would be rank 29. How can I fix it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is my rank script&amp;nbsp;&lt;BR /&gt;Aggr( Rank(TOTAL Sum([Subtotal. Std.]),1,1),[Technical Account Name] , Last_Approver, [Created by User],[Purchase Order No.])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May table is just a normal table:Subtotal Std. column is just plain data. not sum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="1678"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="318"&gt;Technical Account Name&lt;/TD&gt;
&lt;TD width="140"&gt;Purchase Order No.&lt;/TD&gt;
&lt;TD width="169"&gt;Created by User&lt;/TD&gt;
&lt;TD width="699"&gt;Approved By Users&lt;/TD&gt;
&lt;TD width="109"&gt;&amp;nbsp;Subtotal. Std.&amp;nbsp;&lt;/TD&gt;
&lt;TD width="243"&gt;Distinct Count of Purchase Order No.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Asset Acquisition - Vessel (2nd Hand)&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;FL&lt;/TD&gt;
&lt;TD&gt;JG&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 401,165,050.00&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Asset Acquisition - Vessel (2nd Hand)&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;JG&lt;/TD&gt;
&lt;TD&gt;JY&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 360,938,500.00&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Asset Acquisition - Vessel (2nd Hand)&lt;/TD&gt;
&lt;TD&gt;3&lt;/TD&gt;
&lt;TD&gt;JG&lt;/TD&gt;
&lt;TD&gt;JY&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 280,342,500.00&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2418914#M95461</guid>
      <dc:creator>KevinJ</dc:creator>
      <dc:date>2024-11-15T21:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix Rank Duplicate and also ordering</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2418925#M95462</link>
      <description>&lt;P&gt;This can be solved in the second parameter of the rank function. &lt;BR /&gt;Try this :&lt;BR /&gt;&lt;EM&gt;Aggr( Rank(TOTAL Sum([Subtotal. Std.],4),1,1),[Technical Account Name] , Last_Approver, [Created by User],[Purchase Order No.])&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;More info here :&lt;BR /&gt;&lt;A href="https://help.qlik.com/fr-FR/sense/November2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/RelationalFunctions/rank.htm" target="_blank"&gt;Rank - fonction de graphique | Aide Qlik Sense sous Windows&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Théo ATRAGIE.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 17:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2418925#M95462</guid>
      <dc:creator>theoat</dc:creator>
      <dc:date>2024-02-14T17:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix Rank Duplicate and also ordering</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2419015#M95467</link>
      <description>&lt;P&gt;it did not&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KevinJ_0-1707960077393.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159788i2FFBB6D31EBAE18F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KevinJ_0-1707960077393.png" alt="KevinJ_0-1707960077393.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 01:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2419015#M95467</guid>
      <dc:creator>KevinJ</dc:creator>
      <dc:date>2024-02-15T01:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix Rank Duplicate and also ordering</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2419024#M95468</link>
      <description>&lt;P&gt;as suggested by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/249886"&gt;@theoat&lt;/a&gt;&amp;nbsp;,try different mode options&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mode 0 (default)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Rows 2 and 3 share ranking but are clearly on the lower half of the total ranking. Their number representation is therefore rounded downwards to 2. Rows 4 and 5 share ranking too, but fall just above the middle of the ranking table. Therefore they get a number representation of the average of the first and the last rank in the column ((1+8)/2=4.5). This mode is especially useful when you want to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;Visual Cues&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to mark the data ranking highest and lowest within a group.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mode 1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;In both cases the lower ranking figure within the group is used, i.e. 2 for rows 2 and 3, 4 for rows 4 and 5.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mode 2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;In both cases the average of the low and high ranking within the group is used, i.e. 2.5 ((2+3)/2) for rows 2 and 3, 4.5 ((4+5)/2) for rows 4 and 5.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mode 3&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;In both cases the higher ranking figure within the group is used, i.e. 3 for rows 2 and 3, 5 for rows 4 and 5.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mode 4&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Each row is assigned its own distinct numeric value. The order within groups sharing a ranking is determined by the sort order of the chart's dimensions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 02:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2419024#M95468</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2024-02-15T02:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix Rank Duplicate and also ordering</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2419087#M95477</link>
      <description>&lt;P&gt;Sorry,&amp;nbsp;&lt;SPAN&gt;there was a mistake in the old one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Aggr( Rank(TOTAL Sum([Subtotal. Std.],4,1),[Technical Account Name] , Last_Approver, [Created by User],[Purchase Order No.])&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Kind Regards,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;TA.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 07:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Fix-Rank-Duplicate-and-also-ordering/m-p/2419087#M95477</guid>
      <dc:creator>theoat</dc:creator>
      <dc:date>2024-02-15T07:25:39Z</dc:date>
    </item>
  </channel>
</rss>

