<?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: Adding rank to a chart that continues after you click others with dimension limit in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012763#M343476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still the same except now there ranked 2 to 20 and others is ranked 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND when you click others the ranking is the same 2 - 20 for the next lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Mar 2016 08:39:39 GMT</pubDate>
    <dc:creator>matthewp</dc:creator>
    <dc:date>2016-03-30T08:39:39Z</dc:date>
    <item>
      <title>Adding rank to a chart that continues after you click others with dimension limit</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012761#M343474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a combo chart that has a dimension of supplier, an expression shown as a bar chart for a count of orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a dimension limit of the 20 largest values and Show others is ticked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a second expression =rowno(TOTAL) to give me a row number and this is only shown as text on axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great for the first 19 and this is what i have currently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1111.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119804_1111.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when i click others to get the next 20 it numbers them 1 to 20 again..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;I want to achieve 2 things.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;1. I want the numbers to continues on when others is clicked and show them as 20 to 39, then 40 to 59 etc.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;2. I dont want the "Others" bar to have a number as it is technically not in order.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;Expected output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;&lt;IMG alt="222.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/119805_222.png" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;THEN WHEN OTHERS IS CLICKED..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18.6667px;"&gt;&lt;IMG alt="444.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/119806_444.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012761#M343474</guid>
      <dc:creator>matthewp</dc:creator>
      <dc:date>2016-03-30T08:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rank to a chart that continues after you click others with dimension limit</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012762#M343475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use below instead of &lt;STRONG&gt;RowNo(TOTAL) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;If(Count(Orders) &amp;gt; 0, Num(Rank(Count({&amp;lt;SupplierField&amp;gt;}Orders), 4, 4)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;If(Count(Orders) &amp;gt; 0, Num(Rank(Count({&amp;lt;SupplierField&amp;gt;}Orders), 4)))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012762#M343475</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T08:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rank to a chart that continues after you click others with dimension limit</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012763#M343476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still the same except now there ranked 2 to 20 and others is ranked 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND when you click others the ranking is the same 2 - 20 for the next lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012763#M343476</guid>
      <dc:creator>matthewp</dc:creator>
      <dc:date>2016-03-30T08:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rank to a chart that continues after you click others with dimension limit</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012764#M343477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;To fix the order, I think you just need to add a negative sign:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="text-decoration: line-through;"&gt;If(Count(Orders) &amp;gt; 0, Num(Rank(&lt;SPAN style="color: #ff0000; font-size: 14pt; text-decoration: line-through;"&gt;-&lt;/SPAN&gt;Count({&amp;lt;SupplierField&amp;gt;}Orders), 4)))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a sample to play around with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012764#M343477</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T08:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rank to a chart that continues after you click others with dimension limit</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012765#M343478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still the same issues. let me get a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012765#M343478</guid>
      <dc:creator>matthewp</dc:creator>
      <dc:date>2016-03-30T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding rank to a chart that continues after you click others with dimension limit</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012766#M343479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider you have below data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; A, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; B, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; C, 105&lt;/P&gt;&lt;P&gt;&amp;nbsp; D, 50&lt;/P&gt;&lt;P&gt;&amp;nbsp; E, 60&lt;/P&gt;&lt;P&gt;&amp;nbsp; F, 150&lt;/P&gt;&lt;P&gt;&amp;nbsp; G, 200&lt;/P&gt;&lt;P&gt;&amp;nbsp; H, 125&lt;/P&gt;&lt;P&gt;&amp;nbsp; I, 130&lt;/P&gt;&lt;P&gt;&amp;nbsp; J, 90&lt;/P&gt;&lt;P&gt;&amp;nbsp; K, 95&lt;/P&gt;&lt;P&gt;&amp;nbsp; L, 30&lt;/P&gt;&lt;P&gt;&amp;nbsp; M, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp; N, 25&lt;/P&gt;&lt;P&gt;&amp;nbsp; O, 25&lt;/P&gt;&lt;P&gt;&amp;nbsp; P, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; Q, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; R, 110&lt;/P&gt;&lt;P&gt;&amp;nbsp; S, 150&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you want to show TOP 4 customers and rest should be merged in Other. When you click on Other, it will show you 5 to 8 Ranked customer and rest need to be merged as other.&lt;/P&gt;&lt;P&gt;You can use as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Bar Chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculated Dimension&lt;/P&gt;&lt;P&gt;=Aggr(IF(Rank(SUM(Sales),&lt;STRONG style="color: #ff0000;"&gt;4&lt;/STRONG&gt;)&amp;lt;=4,&lt;/P&gt;&lt;P&gt;&amp;nbsp; NUM(Aggr(Rank(TOTAL SUM({&amp;lt;Customer=&amp;gt;}Sales),4),Customer)),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Dual('Other',1000))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;Dual('Customer : ' &amp;amp; Customer &amp;amp; CHR(10) &amp;amp; ' Rank : ' &amp;amp; NUM(Aggr(Rank(TOTAL SUM({&amp;lt;Customer=&amp;gt;}Sales)),Customer)) &amp;amp; CHR(10) &amp;amp; 'Sales : ' &amp;amp; SUM(Sales), SUM(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort by Numeric Value Ascending Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File enclosed for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE : Instead of TOP 4, you can change to TOP 10 or whatever number you want. You have to change the bold RED numbers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 09:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-rank-to-a-chart-that-continues-after-you-click-others/m-p/1012766#M343479</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-30T09:10:10Z</dc:date>
    </item>
  </channel>
</rss>

