<?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 Colour issue in Pie chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Colour-issue-in-Pie-chart/m-p/1825629#M1227741</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am trying to apply the colors conditionally so writing a expression to achieve this.&lt;/P&gt;&lt;P&gt;Pick(Match(Id='Apple','Bird','Other'),Red(),Blue(),Green()). But i see black color by default. I dont want to see black colour in my chart and want to show conditionally colors that i mentioned in the formula. Can some one help me on this? Attached my qvw.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
    <dc:creator>pinky1234</dc:creator>
    <dc:date>2026-01-26T21:26:37Z</dc:date>
    <item>
      <title>Colour issue in Pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-issue-in-Pie-chart/m-p/1825629#M1227741</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am trying to apply the colors conditionally so writing a expression to achieve this.&lt;/P&gt;&lt;P&gt;Pick(Match(Id='Apple','Bird','Other'),Red(),Blue(),Green()). But i see black color by default. I dont want to see black colour in my chart and want to show conditionally colors that i mentioned in the formula. Can some one help me on this? Attached my qvw.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-issue-in-Pie-chart/m-p/1825629#M1227741</guid>
      <dc:creator>pinky1234</dc:creator>
      <dc:date>2026-01-26T21:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Colour issue in Pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-issue-in-Pie-chart/m-p/1825636#M1227745</link>
      <description>&lt;P&gt;A couple of issues. First, syntactically, there should not be a = in your Match(), that should be a comma.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Pick(Match(Id,'Apple','Bird','Other'),Red(),Blue(),Green())&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However that won't work because your Id values are not "Apple" etc, they are A, B, C, D, E and you are putting them in buckets with a calculated Dimension. But you can't reference the Calculated value in the background expression. You need to write it like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Max&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;WildMatch&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;,'A','B','*')),&lt;SPAN class="s1"&gt;Red&lt;/SPAN&gt;(),&lt;SPAN class="s1"&gt;Blue&lt;/SPAN&gt;(),&lt;SPAN class="s1"&gt;Green&lt;/SPAN&gt;())&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;I used Max(WildMatch) as a way to avoid writing Green() three times. That might not match your real case.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;Another approach is to just paste your calculated Dim expression in as the Match() value.&amp;nbsp; That would work in this case, but only if you rewrote your calculated expression as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;=&lt;SPAN class="s1"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;If&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;='A','Apple',&lt;SPAN class="s1"&gt;if&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;='B','Bird',&lt;SPAN class="s1"&gt;If&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Max&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Match&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;, 'C','D','E')),'Other'))), &lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;)&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;and then:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Match&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;If&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;='A','Apple',&lt;SPAN class="s1"&gt;if&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;='B','Bird',&lt;SPAN class="s1"&gt;If&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Max&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Match&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;, 'C','D','E')),'Other'))), &lt;SPAN class="s2"&gt;Id&lt;/SPAN&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;,'Apple','Bird','Other'),&lt;SPAN class="s1"&gt;Red&lt;/SPAN&gt;(),&lt;SPAN class="s1"&gt;Blue&lt;/SPAN&gt;(),&lt;SPAN class="s1"&gt;Green&lt;/SPAN&gt;())&amp;nbsp;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 23:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-issue-in-Pie-chart/m-p/1825636#M1227745</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-07-29T23:18:59Z</dc:date>
    </item>
  </channel>
</rss>

