<?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: Ranking Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking-Issue/m-p/1690451#M592770</link>
    <description>&lt;P&gt;Charlie, I suspect the reason for no responses is lack of a sample QVW with the issue, as these are a bit difficult to troubleshoot without that, as folks need to see the data model, chart and expressions etc. in order to try to figure out what may be wrong.&amp;nbsp; If you are concerned about sensitive data, you can use the Settings\Document Properties\Scrambling tab in the Desktop client to scramble any sensitive fields...&lt;/P&gt;&lt;P&gt;I did find a Design Blog post on Rank though, might be helpful to you too:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2020 17:37:50 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-04-02T17:37:50Z</dc:date>
    <item>
      <title>Ranking Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Issue/m-p/1682831#M592769</link>
      <description>&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Num&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;COUNT&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;DISTINCT&lt;/FONT&gt;&lt;FONT size="1"&gt;{&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;CONTRACT_NUMBER&lt;/FONT&gt;&lt;FONT size="1"&gt;= {&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;"=Rank(COUNT(DISTINCT PO.PROC_AGENCY={'Supply Logistics APS'}),4) and Rank(COUNT(DISTINCT CONTRACT_NUMBER),4)&amp;lt;=vTopN"&lt;/FONT&gt;&lt;FONT size="1"&gt;}&amp;gt;}&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PO.PROC_AGENCY&lt;/FONT&gt;&lt;FONT size="1"&gt;),'#,##0') &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;I am getting result zero by running this formula in expression of Text Box.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;I actually want to count Proc_Agency (dimension) on the basis of Contract_Number in the table but at the same time I want to count this on the basis of variable vTopN whose value can be 5, 10 or all records in the table. I have done it by using Proc. Agency (dimension) but unable to find its value when variable vTopN is used as shown above.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Without the use of vTopN variable my formula is looked like&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Count&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;DISTINCT&lt;/FONT&gt;&lt;FONT size="1"&gt;{&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PO.PROC_AGENCY&lt;/FONT&gt;&lt;FONT size="1"&gt;={'Supply Logistics APS'}&amp;gt;} &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;CONTRACT_NUMBER&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Please guide me to resolve this issue.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Issue/m-p/1682831#M592769</guid>
      <dc:creator>Charlie007</dc:creator>
      <dc:date>2024-11-16T18:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Issue/m-p/1690451#M592770</link>
      <description>&lt;P&gt;Charlie, I suspect the reason for no responses is lack of a sample QVW with the issue, as these are a bit difficult to troubleshoot without that, as folks need to see the data model, chart and expressions etc. in order to try to figure out what may be wrong.&amp;nbsp; If you are concerned about sensitive data, you can use the Settings\Document Properties\Scrambling tab in the Desktop client to scramble any sensitive fields...&lt;/P&gt;&lt;P&gt;I did find a Design Blog post on Rank though, might be helpful to you too:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 17:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Issue/m-p/1690451#M592770</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-02T17:37:50Z</dc:date>
    </item>
  </channel>
</rss>

