<?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 Conditionally colouring Bars in a Chart/Reference Lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditionally-colouring-Bars-in-a-Chart-Reference-Lines/m-p/417385#M1168838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart detailing sales for my companies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display a reference line with the mean of the sales for that company. (Avg(Amount)). I also want to display 2 more lines showing +/- vThreshold%. So far I think I have implemented these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I now I want to colour the bars on the chart which do not fit within the specified threshold. So if the average is 50 and the theshold is 10%, a value of 60 or 40 will be red, and blue otherwise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes much more sense in the attached file. Im sure theres some set thing im missing in my Background Color expression. Help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2012 12:35:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-18T12:35:45Z</dc:date>
    <item>
      <title>Conditionally colouring Bars in a Chart/Reference Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-colouring-Bars-in-a-Chart-Reference-Lines/m-p/417385#M1168838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart detailing sales for my companies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display a reference line with the mean of the sales for that company. (Avg(Amount)). I also want to display 2 more lines showing +/- vThreshold%. So far I think I have implemented these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I now I want to colour the bars on the chart which do not fit within the specified threshold. So if the average is 50 and the theshold is 10%, a value of 60 or 40 will be red, and blue otherwise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes much more sense in the attached file. Im sure theres some set thing im missing in my Background Color expression. Help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 12:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-colouring-Bars-in-a-Chart-Reference-Lines/m-p/417385#M1168838</guid>
      <dc:creator />
      <dc:date>2012-09-18T12:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally colouring Bars in a Chart/Reference Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-colouring-Bars-in-a-Chart-Reference-Lines/m-p/417386#M1168839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, you've forgotten about total qualifier:&lt;/P&gt;&lt;P&gt;=if((Amount &amp;lt; avg(&lt;STRONG&gt;total &lt;/STRONG&gt;Amount)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(100-vThreshold)/100)&amp;nbsp;&amp;nbsp;&amp;nbsp; ,LightRed())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 13:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-colouring-Bars-in-a-Chart-Reference-Lines/m-p/417386#M1168839</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-18T13:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally colouring Bars in a Chart/Reference Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-colouring-Bars-in-a-Chart-Reference-Lines/m-p/417387#M1168840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 16:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-colouring-Bars-in-a-Chart-Reference-Lines/m-p/417387#M1168840</guid>
      <dc:creator />
      <dc:date>2012-09-18T16:07:06Z</dc:date>
    </item>
  </channel>
</rss>

