<?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 Calculated Colours in Bar Charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Colours-in-Bar-Charts/m-p/218245#M71410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further testing suggests that the formulae work when the entire bar is a single value, although the formulae don't work on an unstacked bar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2009 22:07:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-16T22:07:07Z</dc:date>
    <item>
      <title>Calculated Colours in Bar Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colours-in-Bar-Charts/m-p/218243#M71408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a stacked bar chart. This shows proportions against three values, 'Yes', 'No' or 'N/A' (field "Satisfaction"). These are also represented by -1, 0 and 1 (field "Satisfied").&lt;/P&gt;&lt;P&gt;To make sure, especially when drilling down, that colours are Green, Red and Yellow respectively, I am trying to use the Color Area Base Color Calculated feature from the Colors tab. Neither of my formulae work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=if(Satisfied=-1,rgb(0,255,0),if(Satisfied=0,rgb(255,0,0),rgb(255,255,0)))&lt;BR /&gt;=if(Satisfaction='Yes',rgb(0,255,0),if(Satisfaction='No',rgb(255,0,0),rgb(255,255,0)))&lt;/PRE&gt;&lt;BR /&gt;When I apply either of these formulae to the background colour of the cells of a straight table object, they both work just fine. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is this a bug in Version 9, or just my formulae?&lt;/P&gt;&lt;P&gt;It would appear that whatever variables I am using for my colour formulae, they are null. Is there a way to perpetuate a value in a chart without it appearing in the chart? Seems to make the calculated colour pretty redundant if not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 21:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colours-in-Bar-Charts/m-p/218243#M71408</guid>
      <dc:creator />
      <dc:date>2009-10-16T21:23:14Z</dc:date>
    </item>
    <item>
      <title>Calculated Colours in Bar Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colours-in-Bar-Charts/m-p/218244#M71409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;alternative calculation that doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=if(isnull(Satisfaction),rgb(255,255,0),if(Satisfaction='Yes',rgb(0,255,0),if(Satisfaction='No',rgb(255,0,0))))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;renders as rgb(255,255,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 21:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colours-in-Bar-Charts/m-p/218244#M71409</guid>
      <dc:creator />
      <dc:date>2009-10-16T21:25:19Z</dc:date>
    </item>
    <item>
      <title>Calculated Colours in Bar Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Colours-in-Bar-Charts/m-p/218245#M71410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further testing suggests that the formulae work when the entire bar is a single value, although the formulae don't work on an unstacked bar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 22:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Colours-in-Bar-Charts/m-p/218245#M71410</guid>
      <dc:creator />
      <dc:date>2009-10-16T22:07:07Z</dc:date>
    </item>
  </channel>
</rss>

