<?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() with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RANK-with-set-analysis/m-p/1135547#M901122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain a bit more about your requirement with a sample data in a qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2016 04:33:40 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-07-12T04:33:40Z</dc:date>
    <item>
      <title>RANK() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-with-set-analysis/m-p/1135546#M901121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant seem to get this right. I have a list of records with set analysis to filter only the approved records, or to show amount for a range of date.&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[Amount(UN)]={'Approved'}&amp;gt;}AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;FiscalYear=,MonthShortName=,FiscalMonthKey={"$(='&amp;gt;=' &amp;amp; $(vSelYrMthStart) &amp;amp; '&amp;lt;=' &amp;amp; $(vSelYrMthEnd))"},[Amount(UN)]={'Approved'}&amp;gt;}AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to rank this and show only top 20. I always seem to random records for the below. Please help.&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[Amount(UN)]={'Approved'},[EMPLOYEE NAME]={"=Rank(Sum({&amp;lt;[Amount(UN)]={'Approved'}&amp;gt;}[AMOUNT]))&amp;lt;21"}&amp;gt;}AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;FiscalYear=,MonthShortName=,FiscalMonthKey={"$(='&amp;gt;=' &amp;amp; $(vSelYrMthStart) &amp;amp; '&amp;lt;=' &amp;amp; $(vSelYrMthEnd))"},[Amount(UN)]={'Approved'},[EMPLOYEE NAME]={"=Rank(Sum({&amp;lt;FiscalYear=,MonthShortName=,FiscalMonthKey={""$(='&amp;gt;=' &amp;amp; $(vSelYrMthStart) &amp;amp; '&amp;lt;=' &amp;amp; $(vSelYrMthEnd))""},[Amount(UN)]={'Approved'}&amp;gt;}[AMOUNT]))&amp;lt;21"}&amp;gt;}AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anagha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-with-set-analysis/m-p/1135546#M901121</guid>
      <dc:creator>anagharao</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: RANK() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-with-set-analysis/m-p/1135547#M901122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain a bit more about your requirement with a sample data in a qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 04:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-with-set-analysis/m-p/1135547#M901122</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-07-12T04:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: RANK() with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-with-set-analysis/m-p/1135548#M901123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Try something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Arial; color: #737373;"&gt;&lt;SPAN style="color: #000000;"&gt;Aggr(Rank(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;SUM({&amp;lt;[Amount(UN)]={'Approved'},[EMPLOYEE NAME]={"=Rank(Sum({&amp;lt;[Amount(UN)]={'Approved'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AMOUNT)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;This is untested and might contain a few syntax errors. The inclusion of AGGR should should your problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Pravesh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 07:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-with-set-analysis/m-p/1135548#M901123</guid>
      <dc:creator />
      <dc:date>2016-07-12T07:01:00Z</dc:date>
    </item>
  </channel>
</rss>

