<?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: Background Color in a pie chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350576#M829026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i attached a sample to my original post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jun 2017 13:56:05 GMT</pubDate>
    <dc:creator>mparker123</dc:creator>
    <dc:date>2017-06-23T13:56:05Z</dc:date>
    <item>
      <title>Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350571#M829021</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;&lt;/P&gt;&lt;P&gt;I am building a pie chart and having and issue with the background color under the expressions tab. I have values called Issue Types and I created a set analysis to take out the values that I don't want. However, when I put the background color in, the pie chart shows the values that the set analysis took out. I am using the following formula in the "Background Color" expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(issue_type='PLandG',RGB(252,115,98),If(issue_type='GConfig',RGB(141,170,203),If(issue_type='MDB Config',RGB(187,216,84),If(issue_type='OnBC',RGB(255,217,47),If(issue_type='Con',RGB(102,194,150),if(issue_type='GLR',RGB(229,182,148),If(issue_type='P',RGB(231,138,210),If(issue_type='FC',RGB(179,179,179),If(issue_type='CA&amp;amp;R',RGB(166,216,2227),If(issue_type='TSC',RGB(171,233,188),If(issue_type='TDMSBandS',RGB(27,125,156),If(issue_type='OMSC',RGB(255,191,201),If(issue_type='P:P',RGB(77,167,65),If(issue_type='CA',RGB(196,178,214),If(issue_type='CR',RGB(178,36,36),If(issue_type='D',RGB(0,172,172),If(issue_type='CB',RGB(190,108,44))))))))))))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is their something missing from the formula that would be causing the chart to show the values that I excluded?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350571#M829021</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350572#M829022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you attach a sample? Anyway I would recommend you to create a new table with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;issue_type field values and their R, G and B components and later use these new fields in the expression in order to simplify it:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Script part:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COLOURS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;issue_type, R value, G value, B value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PLandG,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;252,115,98&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;GConfig,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;141,170,203&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OnBC,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;255,217,47&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Design part:&lt;/P&gt;&lt;P&gt;= Rgb(Avg([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;R value&lt;/SPAN&gt;]), Avg([G&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; value&lt;/SPAN&gt;]), Avg([B&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; value&lt;/SPAN&gt;]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 13:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350572#M829022</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-06-23T13:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350573#M829023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I can't attach a sample. I also don't know how to enter data in the script the script was designed by someone else in our company so do not want to add to it and potentially mess it up. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is their a way to do it in the "Background Color" expression using the formula above. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 13:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350573#M829023</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2017-06-23T13:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350574#M829024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Please attach a sample so that it would be helpful for us to understand the issues &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 13:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350574#M829024</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-06-23T13:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350575#M829025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make a copy of your sample qvw file if you dont want to mess the original one. Just rename the copied file and upload here using scrambling technique. Personally i am not very keen in using Pie chart for data display, if i can express the data in a comprehensive way to the user with any other objects ignoring Pie chart, i would do that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can scramble data:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 13:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350575#M829025</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-23T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350576#M829026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i attached a sample to my original post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 13:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350576#M829026</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2017-06-23T13:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350577#M829027</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;If I understood you correctly, may be as in attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350577#M829027</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-06-23T14:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350578#M829028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The values in black are the values that should be excluded. As they are excluded in the set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350578#M829028</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2017-06-23T14:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350579#M829029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You that worked perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350579#M829029</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2017-06-23T14:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350580#M829030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was glad to help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350580#M829030</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-06-23T14:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350581#M829031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a small suggestion. Rather than using that long multiple if statements you can try using Pick(Match()) like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Pick(Match([Issue Type], 'C B', 'CA','CA&amp;amp;R','Con','CR','D','FC','GC','GLR','MDB Config','OBC','OMSC','P','P: P','PL and G','TDMSDandS','TSC'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RGB(190,108,44),RGB(196,178,214),RGB(166,216,227),RGB(102,194,150),RGB(178,36,36),RGB(0,172,172),RGB(179,179,179),RGB(141,170,203),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RGB(229,182,148),RGB(187,216,84),RGB(255,217,47), RGB(255,191,201),RGB(231,138,210),RGB(77,167,65),RGB(252,115,98),RGB(27,125,156),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RGB(171,233,188)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just replace your if's with Pick(Match())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-in-a-pie-chart/m-p/1350581#M829031</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-23T14:16:14Z</dc:date>
    </item>
  </channel>
</rss>

