<?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: Need help for using Rank in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681921#M593860</link>
    <description>&lt;P&gt;I am very bad in helping without sample app,specially when it is non-generic problem. Try and see if you could share a sample app or at least explain with a sample data set.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2020 07:28:52 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2020-03-05T07:28:52Z</dc:date>
    <item>
      <title>Need help for using Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681913#M593857</link>
      <description>&lt;P&gt;Can anyone tell me what's wrong with the following coding:&lt;/P&gt;&lt;P&gt;=Num(COUNT(DISTINCT{&amp;lt;CONTRACT_NUMBER= {"=Rank(COUNT(DISTINCT PO.PROC_AGENCY={'Supply Logistics APS'}),4)&amp;lt;=vTopN"}&amp;gt;}PO.PROC_AGENCY),'#,##0')&lt;/P&gt;&lt;P&gt;Actually, I want to use 02 conditions in this formula&lt;/P&gt;&lt;P&gt;1. Having procurement agency "Supply Logistics APS"&lt;/P&gt;&lt;P&gt;2. Apply to Top N records i.e.; Top 5, Top 10&amp;nbsp; or All Data&lt;/P&gt;&lt;P&gt;Please help me to correct this formula.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681913#M593857</guid>
      <dc:creator>Charlie007</dc:creator>
      <dc:date>2024-11-16T18:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for using Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681915#M593858</link>
      <description>&lt;P&gt;One quickly spotted syntax issue.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Num(COUNT(DISTINCT{&amp;lt;CONTRACT_NUMBER= {"=Rank(COUNT(DISTINCT &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;{&amp;lt;&lt;/FONT&gt;&lt;/STRONG&gt;PO.PROC_AGENCY={'Supply Logistics APS'}&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&amp;gt;}&lt;/STRONG&gt;&lt;/FONT&gt;),4)&amp;lt;=vTopN"}&amp;gt;}PO.PROC_AGENCY),'#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this doesn't resolve the issue, try to share a sample app explaining expected output in that context.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 06:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681915#M593858</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-03-05T06:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for using Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681917#M593859</link>
      <description>&lt;P&gt;My code is working fine, if I do not add the PO.Proc_agency condition, but in the formula I have to count number of contracts related with APS or ANS besides Top N records, so it means that now I have to cater 02 conditions in this formula.&lt;/P&gt;&lt;P&gt;I have changed my code as provided by you but nothing new happened as the result is 0 which is incorrect.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 07:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681917#M593859</guid>
      <dc:creator>Charlie007</dc:creator>
      <dc:date>2020-03-05T07:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for using Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681921#M593860</link>
      <description>&lt;P&gt;I am very bad in helping without sample app,specially when it is non-generic problem. Try and see if you could share a sample app or at least explain with a sample data set.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 07:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1681921#M593860</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-03-05T07:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for using Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1690254#M593861</link>
      <description>&lt;P&gt;The following may be of some help, not sure:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;&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;Sorry I do not have anything better, but hopefully one of these may get you what you need.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 12:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1690254#M593861</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-02T12:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for using Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1693175#M593862</link>
      <description>&lt;P&gt;I hope that the following information will help you understand my issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for All Contracts(working correctly).JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31764i511E0DCE15B84A41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PO Stats for All Contracts(working correctly).JPG" alt="PO Stats for All Contracts(working correctly).JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for Top 5 Contracts( not working correctly).JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31766i04A4FF79613A7B84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PO Stats for Top 5 Contracts( not working correctly).JPG" alt="PO Stats for Top 5 Contracts( not working correctly).JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for Top 10 Contracts( not working correctly).JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31765i4504973BF5A9BDDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PO Stats for Top 10 Contracts( not working correctly).JPG" alt="PO Stats for Top 10 Contracts( not working correctly).JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for Selected Contracts(working correctly).JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31767iA75E9525182610D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PO Stats for Selected Contracts(working correctly).JPG" alt="PO Stats for Selected Contracts(working correctly).JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The expression used against each 5 columns is given below:&lt;/P&gt;&lt;P&gt;EXPRESSION BEHIND 1ST COLUMN&lt;BR /&gt;=Count(DISTINCT{&amp;lt;PO.PROC_AGENCY={'Supply Logistics&lt;BR /&gt;APS'}&amp;gt;} PO_NUMBER)&lt;/P&gt;&lt;P&gt;EXPRESSION BEHIND 2ND COLUMN&lt;BR /&gt;=Count(DISTINCT{&amp;lt;PO.PROC_AGENCY={'Supply Logistics&lt;BR /&gt;ANS'}&amp;gt;} PO_NUMBER)&lt;/P&gt;&lt;P&gt;EXPRESSION BEHIND 3RD COLUMN&lt;BR /&gt;=Num(Sum(TOTAL{&amp;lt;PO.PROC_AGENCY={'Supply Logistics APS'}&lt;BR /&gt;&amp;gt;} PO.PO_AMOUNT+PO.GST_AMOUNT),'#,##0')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;EXPRESSION BEHIND 4TH COLUMN&lt;BR /&gt;=Num(Sum(TOTAL{&amp;lt;PO.PROC_AGENCY={'Supply Logistics ANS'}&lt;BR /&gt;&amp;gt;} PO.PO_AMOUNT+PO.GST_AMOUNT),'#,##0')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;EXPRESSION BEHIND 5TH COLUMN&lt;BR /&gt;=Num(SUM({&amp;lt;PO_NUMBER= {"=Rank(SUM(PO.PO_AMOUNT&lt;BR /&gt;+PO.GST_AMOUNT),4)&amp;lt;=vTopN"}&amp;gt;}PO.PO_AMOUNT&lt;BR /&gt;+PO.GST_AMOUNT),'#,##0')&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 08:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1693175#M593862</guid>
      <dc:creator>Charlie007</dc:creator>
      <dc:date>2020-04-14T08:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for using Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1693181#M593863</link>
      <description>&lt;P&gt;I hope that the following information will help you understand my issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for All Contracts(working correctly).JPG" style="width: 908px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31769i6FD0A75BF19D6BED/image-size/large?v=v2&amp;amp;px=999" role="button" title="PO Stats for All Contracts(working correctly).JPG" alt="PO Stats for All Contracts(working correctly).JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for Top 5 Contracts( not working correctly).JPG" style="width: 906px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31770iBB60D6E833D75983/image-size/large?v=v2&amp;amp;px=999" role="button" title="PO Stats for Top 5 Contracts( not working correctly).JPG" alt="PO Stats for Top 5 Contracts( not working correctly).JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for Top 10 Contracts( not working correctly).JPG" style="width: 905px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31768i89AA4A02FAA45669/image-size/large?v=v2&amp;amp;px=999" role="button" title="PO Stats for Top 10 Contracts( not working correctly).JPG" alt="PO Stats for Top 10 Contracts( not working correctly).JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PO Stats for Selected Contracts(working correctly).JPG" style="width: 910px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31771iE68A77172EA3350C/image-size/large?v=v2&amp;amp;px=999" role="button" title="PO Stats for Selected Contracts(working correctly).JPG" alt="PO Stats for Selected Contracts(working correctly).JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The expression used against each 5 columns is given below:&lt;/P&gt;&lt;P&gt;EXPRESSION BEHIND 1ST COLUMN =Count(DISTINCT{&amp;lt;PO.PROC_AGENCY={'Supply Logistics APS'}&amp;gt;} PO_NUMBER) EXPRESSION BEHIND 2ND COLUMN =Count(DISTINCT{&amp;lt;PO.PROC_AGENCY={'Supply Logistics ANS'}&amp;gt;} PO_NUMBER) EXPRESSION BEHIND 3RD COLUMN =Num(Sum(TOTAL{&amp;lt;PO.PROC_AGENCY={'Supply Logistics APS'} &amp;gt;} PO.PO_AMOUNT+PO.GST_AMOUNT),'#,##0')&lt;/P&gt;&lt;P&gt;EXPRESSION BEHIND 4TH COLUMN =Num(Sum(TOTAL{&amp;lt;PO.PROC_AGENCY={'Supply Logistics ANS'} &amp;gt;} PO.PO_AMOUNT+PO.GST_AMOUNT),'#,##0')&lt;/P&gt;&lt;P&gt;EXPRESSION BEHIND 5TH COLUMN =Num(SUM({&amp;lt;PO_NUMBER= {"=Rank(SUM(PO.PO_AMOUNT +PO.GST_AMOUNT),4)&amp;lt;=vTopN"}&amp;gt;}PO.PO_AMOUNT +PO.GST_AMOUNT),'#,##0')&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 08:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-using-Rank/m-p/1693181#M593863</guid>
      <dc:creator>Charlie007</dc:creator>
      <dc:date>2020-04-14T08:03:43Z</dc:date>
    </item>
  </channel>
</rss>

