<?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 within a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068117#M356993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching the document that I have so far ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 16:15:15 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2016-01-26T16:15:15Z</dc:date>
    <item>
      <title>Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068108#M356984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a small problem and I know that I am not the only one that has been presented with this.&amp;nbsp; I have a pivot table which is made up of sales people and services sold by year.&amp;nbsp; I am trying to rank on 2015 and 2014 all services by sales person.&amp;nbsp; I have tried everything.&amp;nbsp; When I select only a sales person it ranks fine, but when I have multiple sales people the ranking is all over the place. My dimensions are Salesperson, services, Year summing sales amount.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here are the expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rank: rank(sum(Inv Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales: sum(Inv Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort :&amp;nbsp; Services : &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FISYR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=$(vFisYr) - 1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Inv Gross]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Material - Code &amp;amp; Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&amp;nbsp; decending....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 14:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068108#M356984</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-25T14:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068109#M356985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should add a TOTAL keyword and play with the combination of the TOTAL dimensions. In a Pivot table, the ranking applies to the complete set of chart dimensions - in your case, Salesperson, Services, and Year. Perhaps you need the TOTAL by Salesperson? Or by Salesperson and Year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you planning to come back to one of our &lt;A href="http://masterssummit.com/"&gt;Master Summit&lt;/A&gt; sessions? We are changing the content quite a bit this year!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 15:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068109#M356985</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-25T15:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068110#M356986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg,&lt;/P&gt;&lt;P&gt;Yes I do want to try and make it back to one of the Master Summits, but trying to get away lately has been pretty difficult. Thanks for the response.&amp;nbsp; Did you mean try the total on the rank or the sum, or within the sort?&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068110#M356986</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-25T16:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068111#M356987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I meant the total in the Rank()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 18:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068111#M356987</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-25T18:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068112#M356988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears there is no way to rank a pivot table the way I want to (at least I have not figured it out).&amp;nbsp; I have a salesperson, services and I want to rank the dollar value for 2014 and 2015 by service by arborist.&amp;nbsp; what I would like to see is : Every time the arborist changes I need to rank total sales.&amp;nbsp; Thanks Oleg.....&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Ranking.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112465_Ranking.png" style="height: 622px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 19:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068112#M356988</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-25T19:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068113#M356989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you posted a small sample app, I could give it a try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 14:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068113#M356989</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-26T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068114#M356990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can email you a spreadsheet if that works?&amp;nbsp; Thanks for all your help.&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 14:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068114#M356990</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-26T14:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068115#M356991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a small sample.&amp;nbsp; Hope it helps.&amp;nbsp; Thanks Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 15:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068115#M356991</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-26T15:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068116#M356992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that the TOTAL &amp;lt;dim&amp;gt; doesn't work in the Rank function - the helper popup text shows it, but it doesn't work. The general TOTAL works - you can calculate RANK across all Arborists and Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what's your desired result though. Can you attach a working example in Excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 16:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068116#M356992</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-26T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068117#M356993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching the document that I have so far ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 16:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068117#M356993</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-26T16:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068118#M356994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe we look at this a different way.&amp;nbsp; Is there a way to tell me who the number one arborist is for a service and ignore the rest?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 16:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068118#M356994</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-26T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068119#M356995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you want to ignore Years... Something like this (attached)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 16:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068119#M356995</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-26T16:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068120#M356996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might work.....I changed it to a straight table, removed the year and used the dimension limits......it shows me the top arborist for a service.&amp;nbsp; What do you think?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 19:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068120#M356996</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-26T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068121#M356997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I didn't know all these changes were on the table &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Sure, it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 20:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068121#M356997</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-26T20:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068122#M356998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for all your help.&amp;nbsp; Keep me posted on the Masters Summit.....Will you be at the QConference in May?&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 21:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068122#M356998</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-26T21:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068123#M356999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, absolutely!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 14:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068123#M356999</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-27T14:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking within a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068124#M357000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.&amp;nbsp; I will look for you I owe you for all your help,..&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 15:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-within-a-pivot-table/m-p/1068124#M357000</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2016-01-27T15:06:01Z</dc:date>
    </item>
  </channel>
</rss>

