<?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 each bar(year) separately in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-each-bar-year-separately/m-p/344649#M127340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer and the compliment on my puzzle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 21:24:15 GMT</pubDate>
    <dc:creator>dhborchardt</dc:creator>
    <dc:date>2012-05-09T21:24:15Z</dc:date>
    <item>
      <title>Rank each bar(year) separately</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-each-bar-year-separately/m-p/344647#M127338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have figured out how to rank the data and sort it from largest amount on the bottom to the least at the top. This works fine for the first bar and then each subsquent bar as long as the cities stay in proportion. If a city that was ranked 3 now has a value that would rank it 2 it will not move to the 2nd position. I would like each year to be re-ranked so the largest is alway at the bottom and so forth. I have included a sample of what I have so far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 15:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-each-bar-year-separately/m-p/344647#M127338</guid>
      <dc:creator>dhborchardt</dc:creator>
      <dc:date>2012-05-09T15:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rank each bar(year) separately</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-each-bar-year-separately/m-p/344648#M127339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhborchardt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I understand you right;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can map the places to colors in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2"&gt; * &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;[&lt;BR /&gt;Place, ColorCode&lt;BR /&gt;minneapolis, 1&lt;BR /&gt;Los Angeles, 2&lt;BR /&gt;Tampa, 3&lt;BR /&gt;Austin, 4&lt;BR /&gt;Seattle, 5&lt;BR /&gt;Miami, 6&lt;BR /&gt;Chicago, 7&lt;BR /&gt;]&lt;SPAN class="s2"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; * &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;[&lt;BR /&gt;Year, Amount, Place&lt;BR /&gt;&amp;nbsp; 2010, 6, minneapolis&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2010, 7, Los Angeles&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2010, 4, Tampa &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;....&lt;/P&gt;&lt;/PRE&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;then you can bring them in using the background color option in the expression tab "sum(Amount)" expression. &lt;/P&gt;&lt;P class="p1"&gt;Use =color(ColorCode)&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Then create a dim as follows: &lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;dual&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;Place&lt;SPAN class="s1"&gt;,&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Rank&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;Amount&lt;SPAN class="s1"&gt;),4,1),&lt;/SPAN&gt;Year&lt;SPAN class="s1"&gt;,&lt;/SPAN&gt;Place&lt;SPAN class="s1"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="14009" alt="2012-05-09_22-26-17.gif" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/14009_2012-05-09_22-26-17.gif" width="450" /&gt;&lt;/P&gt;&lt;P&gt;You can use the dimension limits in qv11 to restrict the displayed values. However you may find that not all values appear in the legend.&amp;nbsp; Perhaps create your own legend using a single column straight table. Or let the users just filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 20:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-each-bar-year-separately/m-p/344648#M127339</guid>
      <dc:creator>davematthews</dc:creator>
      <dc:date>2012-05-09T20:50:18Z</dc:date>
    </item>
    <item>
      <title>Rank each bar(year) separately</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-each-bar-year-separately/m-p/344649#M127340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer and the compliment on my puzzle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 21:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-each-bar-year-separately/m-p/344649#M127340</guid>
      <dc:creator>dhborchardt</dc:creator>
      <dc:date>2012-05-09T21:24:15Z</dc:date>
    </item>
  </channel>
</rss>

