<?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 Pie Chart Individual Colors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239940#M90505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can enter an expression to select the color in the "Background Color" definition when you click on the + next to the expression. Here's an example expression:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(1+match(only(Customer),'Company 1','Company 2'),green(),red(),black())&lt;/P&gt;&lt;P&gt;So company 1's pie slice will be red, company 2's will be black, and the rest will be green. You can use rgb() expressions and other things to specify the colors themselves. I believe that if the expression doesn't assign a color to a pie slice, it will use the a default color from the color tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2010 00:17:15 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-02-17T00:17:15Z</dc:date>
    <item>
      <title>Pie Chart Individual Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239939#M90504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Qlikview 9.0. Is there was a way to change an individual Pie chart color with a given criteria(script)?&lt;/P&gt;&lt;P&gt;What I would like to do is run the Pie chart data thru some script criteria and if one of them meets it then change that particular color to something else.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 23:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239939#M90504</guid>
      <dc:creator />
      <dc:date>2010-02-16T23:52:46Z</dc:date>
    </item>
    <item>
      <title>Pie Chart Individual Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239940#M90505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can enter an expression to select the color in the "Background Color" definition when you click on the + next to the expression. Here's an example expression:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(1+match(only(Customer),'Company 1','Company 2'),green(),red(),black())&lt;/P&gt;&lt;P&gt;So company 1's pie slice will be red, company 2's will be black, and the rest will be green. You can use rgb() expressions and other things to specify the colors themselves. I believe that if the expression doesn't assign a color to a pie slice, it will use the a default color from the color tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 00:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239940#M90505</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-17T00:17:15Z</dc:date>
    </item>
    <item>
      <title>Pie Chart Individual Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239941#M90506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply John. I can use that.&lt;/P&gt;&lt;P&gt;Can you provide what's the simpliest formula to use in order to make that color change? I am doing a calculation to pull a percent value and if that value is greater or = (&amp;gt;=) than 60 then change the color.&lt;/P&gt;&lt;P&gt;I was trying this -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;If (round&lt;/B&gt;((&lt;B&gt;Count&lt;/B&gt;(&lt;B&gt;IF&lt;/B&gt;(&lt;B&gt;PPE_EquipmentTestResults&lt;/B&gt;='P', &lt;B&gt;PPE_EquipmentTestResults&lt;/B&gt;))*100/ &lt;B&gt;Count&lt;/B&gt;(&lt;B&gt;PPE_EquipmentTestResults&lt;/B&gt;)), .10) &amp;gt;=60,RGB(250,0,0))&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 01:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239941#M90506</guid>
      <dc:creator />
      <dc:date>2010-02-17T01:11:26Z</dc:date>
    </item>
    <item>
      <title>Pie Chart Individual Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239942#M90507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's not really any simpler, but it will likely execute faster by using set analysis and avoiding the multiplication and the round() function:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(count({&amp;lt;PPE_EquipmentTestResults*={'P'}&amp;gt;} PPE_EquipmentTestResults)/count(PPE_EquipmentTestResults)&amp;gt;=.5995,rgb(250,0,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 01:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239942#M90507</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-17T01:27:18Z</dc:date>
    </item>
    <item>
      <title>Pie Chart Individual Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239943#M90508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked great, Thanks.&lt;/P&gt;&lt;P&gt;I have one more question about the inital pie slice selection. In the example, is the "Customer" related to the dimension or expression?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 19:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239943#M90508</guid>
      <dc:creator />
      <dc:date>2010-02-17T19:27:52Z</dc:date>
    </item>
    <item>
      <title>Pie Chart Individual Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239944#M90509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my example, Customer was the dimension, but I was setting the color for the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 19:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-Individual-Colors/m-p/239944#M90509</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-17T19:34:22Z</dc:date>
    </item>
  </channel>
</rss>

