<?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 - ignoring a dimension in the rank but not the analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481688#M1147686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - and that would work if I didn't filter the analysis Chart by the AGENT. When this filter is applied then the RANK is 1 for every Market as I've restricted the Chart to this single Agent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not straightforward I know !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2013 15:38:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-15T15:38:42Z</dc:date>
    <item>
      <title>Ranking - ignoring a dimension in the rank but not the analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481686#M1147684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to determine the Rank (highest number of bookings to lowest) of a MARKET by an AGENT.&lt;/P&gt;&lt;P&gt;I only want to see the AGENT I have selected (filtered the selection by) and it's ranking compared with it's peer AGENTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the XL View :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="547"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="71"&gt;Agency&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="87"&gt;Market&lt;/TD&gt;&lt;TD class="xl72" style="border-left: none;" width="87"&gt;AGENT&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="111"&gt;No. of Bookings&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="97"&gt;Rank (incorrect)&lt;/TD&gt;&lt;TD class="xl70" width="94"&gt;Rank (correct)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAA-BBB&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;559&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ABB-CDD&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;160&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CCC-EEE&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;154&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Base Data :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="453"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="71"&gt;Agency&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="87"&gt;Market&lt;/TD&gt;&lt;TD class="xl71" style="border-left: none;" width="87"&gt;AGENT&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="111"&gt;No. of Bookings&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="97"&gt;Market Rank&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAA-BBB&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;559&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAA-BBB&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAA-BBB&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;333&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl73" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;ABB-CDD&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-top: none; border-left: none;"&gt;160&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl73" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;ABB-CDD&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD align="right" class="xl75"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl75"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl73" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;ABB-CDD&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-top: none; border-left: none;"&gt;333&lt;/TD&gt;&lt;TD align="right" class="xl75"&gt;700&lt;/TD&gt;&lt;TD align="right" class="xl75"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl73" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;ABB-CDD&lt;/TD&gt;&lt;TD align="right" class="xl76"&gt;444&lt;/TD&gt;&lt;TD align="right" class="xl75"&gt;800&lt;/TD&gt;&lt;TD align="right" class="xl75"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl77" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;"&gt;CCC-EEE&lt;/TD&gt;&lt;TD align="right" class="xl78" style="border-left: none;"&gt;111&lt;/TD&gt;&lt;TD align="right" class="xl79"&gt;154&lt;/TD&gt;&lt;TD align="right" class="xl79"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl77" height="17" style="border-top: none;"&gt;Agency X&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;"&gt;CCC-EEE&lt;/TD&gt;&lt;TD align="right" class="xl80"&gt;333&lt;/TD&gt;&lt;TD align="right" class="xl79"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl79"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the following Rank function but it doesn't work (Rank (incorrect) column)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Rank(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[AGENT]= &amp;gt;} [Booking ID])&lt;/P&gt;&lt;P&gt;, &lt;/P&gt;&lt;P&gt;[Agency],&lt;/P&gt;&lt;P&gt;[Market]&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,4))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. Ignore the AGENT in the selection for this analysis and Rank by the number of bookings over the Agency and Market.&lt;/P&gt;&lt;P&gt;If I bring in the AGENT as a dimension it works but I don't want to see the AGENT in the dimension, as it is restricted by the selection filter and I only therefore want to show the rankings for that AGENT against it's Markets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas out there!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 15:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481686#M1147684</guid>
      <dc:creator />
      <dc:date>2013-07-15T15:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - ignoring a dimension in the rank but not the analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481687#M1147685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried adding your Agent to the aggr() dimensions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Rank(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[AGENT]= &amp;gt;} [Booking ID])&lt;/P&gt;&lt;P&gt;, &lt;/P&gt;&lt;P&gt;[Agency],&lt;/P&gt;&lt;P&gt;[Market],&lt;/P&gt;&lt;P&gt;[AGENT]&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,4))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 15:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481687#M1147685</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-15T15:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - ignoring a dimension in the rank but not the analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481688#M1147686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - and that would work if I didn't filter the analysis Chart by the AGENT. When this filter is applied then the RANK is 1 for every Market as I've restricted the Chart to this single Agent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not straightforward I know !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 15:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481688#M1147686</guid>
      <dc:creator />
      <dc:date>2013-07-15T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - ignoring a dimension in the rank but not the analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481689#M1147687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, isn't that what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 15:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481689#M1147687</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-15T15:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - ignoring a dimension in the rank but not the analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481690#M1147688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKYOU!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the re-ordering of the placement of the Rank and Aggr, this works. What does the 'only' command do - is that a simple de-duplication?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 16:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-ignoring-a-dimension-in-the-rank-but-not-the-analysis/m-p/481690#M1147688</guid>
      <dc:creator />
      <dc:date>2013-07-15T16:55:30Z</dc:date>
    </item>
  </channel>
</rss>

