<?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 Rank issue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-issue/m-p/1379043#M814366</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;Kindly refer to the below screen shot, I've tried to created Calculated dimension as "Peak Sold Qty rank" and it's based Singapore Peak Sold Qty, it's working fine most the case and only few case like below screen shot highlighted in yellow the rank value not correct. can you advise me how to resolve this issue? thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt; Report display based on &lt;STRONG&gt;Singapore Peak Sold&lt;/STRONG&gt; (high to low Qty i.e descending order)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; ranking group based on Launch, Theme,Theme Name&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177142" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177142_Capture.JPG" style="height: 361px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cal.dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Peak SoldQty Rank &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=aggr(Rank(Sum(Aggr(max({&amp;lt;Year={"*"},Week= {"*"},Country={'SINGAPORE'},ArticleNo&amp;gt;}&lt;/P&gt;&lt;P&gt;aggr(sum({&amp;lt;Year={"*"},Week= {"*"},Country={'SINGAPORE'},ArticleNo&amp;gt;}SoldQty),Year,Week,ArticleNo)),ArticleNo)),4)&lt;/P&gt;&lt;P&gt;,MaterialHuddleGrpDesc,Launch_No,ThemeGroup,ThemeName,ArticleNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Peak Sold&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality() = 5, Max({&amp;lt;Year={"*"},Week= {"*"},ArticleNo&amp;gt;}Aggr(sum({&amp;lt;Year,Week,ArticleNo&amp;gt;}SoldQty),ArticleNo, Week,Year)),&lt;/P&gt;&lt;P&gt;max({&amp;lt;Year={"*"},Week= {"*"},ArticleNo&amp;gt;}&lt;/P&gt;&lt;P&gt;aggr(sum({&amp;lt;Year={"*"},Week= {"*"},ArticleNo&amp;gt;}SoldQty),Year,Week,Country,ArticleNo)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>devarasu07</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Rank issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-issue/m-p/1379043#M814366</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;Kindly refer to the below screen shot, I've tried to created Calculated dimension as "Peak Sold Qty rank" and it's based Singapore Peak Sold Qty, it's working fine most the case and only few case like below screen shot highlighted in yellow the rank value not correct. can you advise me how to resolve this issue? thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt; Report display based on &lt;STRONG&gt;Singapore Peak Sold&lt;/STRONG&gt; (high to low Qty i.e descending order)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; ranking group based on Launch, Theme,Theme Name&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177142" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177142_Capture.JPG" style="height: 361px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cal.dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Peak SoldQty Rank &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=aggr(Rank(Sum(Aggr(max({&amp;lt;Year={"*"},Week= {"*"},Country={'SINGAPORE'},ArticleNo&amp;gt;}&lt;/P&gt;&lt;P&gt;aggr(sum({&amp;lt;Year={"*"},Week= {"*"},Country={'SINGAPORE'},ArticleNo&amp;gt;}SoldQty),Year,Week,ArticleNo)),ArticleNo)),4)&lt;/P&gt;&lt;P&gt;,MaterialHuddleGrpDesc,Launch_No,ThemeGroup,ThemeName,ArticleNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Peak Sold&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality() = 5, Max({&amp;lt;Year={"*"},Week= {"*"},ArticleNo&amp;gt;}Aggr(sum({&amp;lt;Year,Week,ArticleNo&amp;gt;}SoldQty),ArticleNo, Week,Year)),&lt;/P&gt;&lt;P&gt;max({&amp;lt;Year={"*"},Week= {"*"},ArticleNo&amp;gt;}&lt;/P&gt;&lt;P&gt;aggr(sum({&amp;lt;Year={"*"},Week= {"*"},ArticleNo&amp;gt;}SoldQty),Year,Week,Country,ArticleNo)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deva&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-issue/m-p/1379043#M814366</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

