<?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 Different shades of blue based on rank in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088734#M362303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get different shares of a blue for my pie chart based on rank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colors should be a more darker version of the blue based on their rankings in terms of total cost: so #1 should have lighter version of blue and as the rank increases in terms of total cost, the color should incrememtally get darker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this be done in more efficient way other than me typing each rank and color as a seperate line ? if you guys have any ideas it would be highly appreciated. Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is what i am planning on using (also attaching a qvw for the example)&lt;/P&gt;&lt;P&gt;if(rank(sum(GrandTotalCost))=1, rgb(0,159,195),Blue())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be helpful if you guys have an idea to get this done in an efficient manner. Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 15:00:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-16T15:00:21Z</dc:date>
    <item>
      <title>Different shades of blue based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088734#M362303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get different shares of a blue for my pie chart based on rank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colors should be a more darker version of the blue based on their rankings in terms of total cost: so #1 should have lighter version of blue and as the rank increases in terms of total cost, the color should incrememtally get darker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this be done in more efficient way other than me typing each rank and color as a seperate line ? if you guys have any ideas it would be highly appreciated. Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is what i am planning on using (also attaching a qvw for the example)&lt;/P&gt;&lt;P&gt;if(rank(sum(GrandTotalCost))=1, rgb(0,159,195),Blue())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be helpful if you guys have an idea to get this done in an efficient manner. Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 15:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088734#M362303</guid>
      <dc:creator />
      <dc:date>2016-03-16T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Different shades of blue based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088735#M362304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Colormix() functions or ARGB() with some calculations to map your ranking to colors, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ColorMix1(&lt;/P&gt;&lt;P&gt;(Count(TOTAL Distinct Country)-Rank(-Sum(GrandTotalCost)))/Count(TOTAL DISTINCT Country)&lt;/P&gt;&lt;P&gt;, White() , Blue())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[agreed, white() is an extreme color, used just for demonstration]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088735#M362304</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-16T20:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Different shades of blue based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088736#M362305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;already having sorted by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(GrandTotalCost) there's no need for ranking anymore:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_209770_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118305_QlikCommunity_Thread_209770_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_209770_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/118317_QlikCommunity_Thread_209770_Pic3.JPG" style="font-size: 13.3333px; height: 306px; width: 620px;" /&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14581672367837149" jivemacro_uid="_14581672367837149"&gt;
&lt;P&gt;RGB((1-(RowNo()-1)/(NoOfRows()-1))*200, (1-(RowNo()-1)/(NoOfRows()-1))*200, 255)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or similar to Stefan using colormix:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_209770_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/118316_QlikCommunity_Thread_209770_Pic2.JPG" style="height: 346px; width: 620px;" /&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14581672428964624 jive_text_macro" jivemacro_uid="_14581672428964624"&gt;
&lt;P&gt;ColorMix1((RowNo()-1)/(NoOfRows()-1),RGB(200,200,255),Blue())&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 22:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088736#M362305</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-03-16T22:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Different shades of blue based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088737#M362306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... and to feed the popular discussion about the pie chart's pros and cons (Gysbert, are you around?) some "historical background": &lt;A href="https://eagereyes.org/blog/2015/ye-olde-pie-chart-debate" style="font-size: 10pt; line-height: 1.5em;" title="https://eagereyes.org/blog/2015/ye-olde-pie-chart-debate"&gt;ye-olde-pie-chart-debate&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;enjoy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 22:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-shades-of-blue-based-on-rank/m-p/1088737#M362306</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-03-16T22:42:38Z</dc:date>
    </item>
  </channel>
</rss>

