<?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 Function Ignoring Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-Function-Ignoring-Calculated-Dimension/m-p/189444#M52331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV Guru's&lt;/P&gt;&lt;P&gt;I've exhausted all of my resources trying to figure out this one. See below and attached .qvw. I'm using a calculated dimension in my pivot table to give me the Top 5 of QuantityA and bucket the rest in an "Others" row. This works fine, and when I do a simple RANK on QuantityA everything if fine.&lt;/P&gt;&lt;P&gt;But what if I wanted to include a RANK of QuantityB? I thought it would be simple enough, using set expression or the ALL operator on the RANK function I could IGNORE the calculated dimension and rank QuantityB numbers based on all Products. It seems as though I've tried every combination of set expressions and ALL operators and I still can't get it to work.&lt;/P&gt;&lt;P&gt;For example, the Product "Soundcard" should be ranked 12 not 6 (12th out of ALL Products not just the calculated dimension set).&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3395_sourceID:3395" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 17:37:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-27T17:37:04Z</dc:date>
    <item>
      <title>Rank Function Ignoring Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function-Ignoring-Calculated-Dimension/m-p/189444#M52331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV Guru's&lt;/P&gt;&lt;P&gt;I've exhausted all of my resources trying to figure out this one. See below and attached .qvw. I'm using a calculated dimension in my pivot table to give me the Top 5 of QuantityA and bucket the rest in an "Others" row. This works fine, and when I do a simple RANK on QuantityA everything if fine.&lt;/P&gt;&lt;P&gt;But what if I wanted to include a RANK of QuantityB? I thought it would be simple enough, using set expression or the ALL operator on the RANK function I could IGNORE the calculated dimension and rank QuantityB numbers based on all Products. It seems as though I've tried every combination of set expressions and ALL operators and I still can't get it to work.&lt;/P&gt;&lt;P&gt;For example, the Product "Soundcard" should be ranked 12 not 6 (12th out of ALL Products not just the calculated dimension set).&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3395_sourceID:3395" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 17:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function-Ignoring-Calculated-Dimension/m-p/189444#M52331</guid>
      <dc:creator />
      <dc:date>2011-01-27T17:37:04Z</dc:date>
    </item>
    <item>
      <title>Rank Function Ignoring Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function-Ignoring-Calculated-Dimension/m-p/189445#M52332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're off-piste with that question - 'ignoring but not ignoring' from within a table fundamentally goes against Qv's assocative logic so I can't see a better solution in the front-end that gets 'closer' than your existing calcuation.&lt;/P&gt;&lt;P&gt;Therefore I've come at it from a different angle and calculated the rank in the load script - file attached.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1581.Rank.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1581.Rank.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 18:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function-Ignoring-Calculated-Dimension/m-p/189445#M52332</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-01-27T18:02:42Z</dc:date>
    </item>
    <item>
      <title>Rank Function Ignoring Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function-Ignoring-Calculated-Dimension/m-p/189446#M52333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt thanks a ton. So unfortunetely I can't do this in the object but like you said I can do it in the load script, which isn't as nice but it will work. Actually I'm a little happy that's it not possible in the chart object using set analysis or TOTAL operator as I spent so long trying to get it to work ths route I would feel dumb if there was an easy solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 20:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function-Ignoring-Calculated-Dimension/m-p/189446#M52333</guid>
      <dc:creator />
      <dc:date>2011-01-27T20:28:56Z</dc:date>
    </item>
  </channel>
</rss>

