<?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 20 sorting issue ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661558#M448827</link>
    <description>&lt;P&gt;Sunny, another question.&lt;/P&gt;&lt;P&gt;When I include a second dimension, it is showing up 22 physicians instead of only 20 physicians. How can I limit the list to 20 irrespective of how many dimensions I add into the table ?&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2019 18:24:58 GMT</pubDate>
    <dc:creator>bob654321</dc:creator>
    <dc:date>2019-12-30T18:24:58Z</dc:date>
    <item>
      <title>Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661314#M448799</link>
      <description>&lt;P&gt;I'm having an issue with displaying the top 20 names in the list. The&amp;nbsp; names should be sorted based on the total requests count and if the request count is same, sort the names using the last name in ascending order. The issue is the last 2 names are wrong in the list in the attached workbook. How do I sort the names using their last name when the counts are same ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661314#M448799</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2024-11-16T19:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661332#M448802</link>
      <description>&lt;P&gt;Is this what you're looking for?&lt;/P&gt;&lt;P&gt;Attached file&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 08:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661332#M448802</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-30T08:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661430#M448812</link>
      <description>&lt;P&gt;Is the chart on the right what you are looking to get?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26167i92147C3435A8B287/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it is not just the last two which changed... there were few others which changed as well and that's just because based on your current selections, there are few of the names where total request were the same and the sort order was not ascending by last name.... for example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.png" style="width: 606px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26168i7A2C7699D5016673/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;Last name Kim and Bowman both have total request of 19, but they are currently sorted in descending order of there last names (assuming Kim and Bowman are the last names here)&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 11:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661430#M448812</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-30T11:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661493#M448821</link>
      <description>&lt;P&gt;Thanks Sunny! The list I have originally was for Top 22. If you change it to Top 20 under the 'Dimension Limits", the list changes again. How do we keep the names sorting consistent when changing the top N value ?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 14:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661493#M448821</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-30T14:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661500#M448822</link>
      <description>&lt;P&gt;Use set analysis in all your expressions instead of using dimensions limits&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{&amp;lt;Ordering_Physician_name = {"=Rank(Max(Aggr(Count(DISTINCT Final_Authorization_Key), Ordering_Physician_name, Ordering_Physician_Specialty_ID)) + Rank(Ordering_Physician_Last_Name)/1E10) &amp;lt;= 20"}&amp;gt;}&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26176iC0B59907697575C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 14:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661500#M448822</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-30T14:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661501#M448823</link>
      <description>&lt;P&gt;Thanks again Sunny! I'm also trying to display the unique rank of each physician 1,2,3,4...16 in the same order. How can I do that ?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 14:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661501#M448823</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-30T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661507#M448824</link>
      <description>&lt;P&gt;May be add this expression&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26178iFBA4D987906D08D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(Column(1) &amp;gt; 0, Rank(Max(Aggr(Count(DISTINCT Final_Authorization_Key), Ordering_Physician_name, Ordering_Physician_Specialty_ID)) + Rank(Ordering_Physician_Last_Name)/1E10))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 14:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661507#M448824</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-30T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661515#M448825</link>
      <description>&lt;P&gt;That worked!!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 14:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661515#M448825</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-30T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661558#M448827</link>
      <description>&lt;P&gt;Sunny, another question.&lt;/P&gt;&lt;P&gt;When I include a second dimension, it is showing up 22 physicians instead of only 20 physicians. How can I limit the list to 20 irrespective of how many dimensions I add into the table ?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 18:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661558#M448827</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-30T18:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661563#M448828</link>
      <description>&lt;P&gt;Which dimension have you added?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 18:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661563#M448828</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-30T18:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661565#M448829</link>
      <description>&lt;P&gt;I have added&amp;nbsp;Ordering_Physician_client_phys_id. There could be multiple&amp;nbsp;Ordering_Physician_client_phys_id values for each physician but the table should only display the lowest value if there are multiple&amp;nbsp;Ordering_Physician_client_phys_id values for a specific physician.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 19:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661565#M448829</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-30T19:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661573#M448830</link>
      <description>&lt;P&gt;When you add Ordering_Physician_client_phys_id... you get two rows for HOCKENBERRY, LESTER M with two different&amp;nbsp;Ordering_Physician_client_phys_id. What would you want to do here?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26189i94E80936D14C300E/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>Mon, 30 Dec 2019 19:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661573#M448830</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-30T19:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661576#M448831</link>
      <description>&lt;P&gt;It should pick up&amp;nbsp; &amp;nbsp;"P100001499830006" since it has 30 which is the highest total request count for that person's related client phys id.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 19:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661576#M448831</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-30T19:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661709#M448843</link>
      <description>&lt;P&gt;I think the way everything is structured, we would need to know the dimensions in advance to right the expression here... it would be difficult to come up with an expression which will work in all scenarios.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 13:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661709#M448843</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-31T13:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661720#M448846</link>
      <description>&lt;P&gt;Thanks Sunny!&amp;nbsp; One last question, I know you created the expression for the Current Rank in the table. How to create the expression for the Prior Period Rank ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 13:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661720#M448846</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-31T13:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661735#M448850</link>
      <description>&lt;P&gt;What is your expression for prior period?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 14:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661735#M448850</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-31T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661738#M448851</link>
      <description>&lt;P&gt;This is my expression for Prior Total Requests.&lt;/P&gt;&lt;P&gt;Max({&amp;lt;Ordering_Physician_name = {"=Rank(Max(Aggr(Count(DISTINCT Final_Authorization_Key), Ordering_Physician_name, Ordering_Physician_Specialty_ID)) + Rank(Ordering_Physician_Last_Name)/1E10) &amp;lt;= 20"}&amp;gt;}Aggr(&lt;BR /&gt;Count({&amp;lt;fnl_determ_year={$(=Max(fnl_determ_year))},Quarter={"$(='Q' &amp;amp; (purgechar(GetFieldSelections(Quarter),'Q')-1))"}&amp;gt;}DISTINCT Final_Authorization_Key)&lt;BR /&gt;, Ordering_Physician_name, Ordering_Physician_Specialty_ID))&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 14:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661738#M448851</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-31T14:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661745#M448852</link>
      <description>&lt;P&gt;Do you need the Previous Period Rank for the Physicians which are Ranked top 20 in the recent period?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 14:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661745#M448852</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-31T14:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661747#M448853</link>
      <description>&lt;P&gt;Also, the sample app that you provided, only included data for Q3... would you be able to add Q2 and share?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 14:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661747#M448853</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-31T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Top 20 sorting issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661760#M448854</link>
      <description>&lt;P&gt;&amp;nbsp;Yes, i need a Previous period Rank column based on the previous request count.&lt;/P&gt;&lt;P&gt;I've added more quarters and years in the attached workbook.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 14:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-20-sorting-issue/m-p/1661760#M448854</guid>
      <dc:creator>bob654321</dc:creator>
      <dc:date>2019-12-31T14:41:10Z</dc:date>
    </item>
  </channel>
</rss>

