<?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: hardcode the colours in a bar chart. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/hardcode-the-colours-in-a-bar-chart/m-p/1547008#M744675</link>
    <description>&lt;P&gt;Hi, I am just going to provide some advice as my company does not allow me to download any samples from the qlik community, hence, I cannot answer with specifics.&lt;/P&gt;&lt;P&gt;In your bar chart, you go to the expression tab and open up (click on the + to the left) the expression that you want to change the colour for.&amp;nbsp; Go to the background colour option and then create an expression there to define your colours, something like:&lt;/P&gt;&lt;P&gt;IF(AMValue &amp;lt; MinTarget , RED() , IF(AmValue = MinTarget , YELLOW() , GREEN() ))&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;AMValue - Replace this with your expression for AMValue&lt;/P&gt;&lt;P&gt;MinTarget - Replace this with your expression for MinTarget&lt;/P&gt;&lt;P&gt;RED(), YELLOW(), GREEN() - you can replace these with specific RGB values using RGB(n,n,n) to give a very precise colour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2019 16:12:26 GMT</pubDate>
    <dc:creator>NW1965</dc:creator>
    <dc:date>2019-02-20T16:12:26Z</dc:date>
    <item>
      <title>hardcode the colours in a bar chart.</title>
      <link>https://community.qlik.com/t5/QlikView/hardcode-the-colours-in-a-bar-chart/m-p/1535802#M744674</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can someone help me to solve my change?&lt;/P&gt;&lt;P&gt;Please find the qlik app and the source data attached.&lt;/P&gt;&lt;P&gt;I need to find a way to display all the AMs in a bar chart based on the target.&lt;/P&gt;&lt;P&gt;There are some conditions like:&lt;/P&gt;&lt;P&gt;if the AM value is less than Min Target to be REG, IF the AM value is equal with Medium Target or less than Top Target to be Yellow&amp;nbsp; and IF the AM value is above Top Target to change the bar to Green.&lt;/P&gt;&lt;P&gt;I need something similar this in the below capture.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG"&gt;&lt;img src="https://community.qlik.com/skins/images/EBC1E3E90D489BE68BA1EFEA9A38FC1A/responsive_peak/images/image_not_found.png" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hardcode-the-colours-in-a-bar-chart/m-p/1535802#M744674</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2024-11-16T21:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: hardcode the colours in a bar chart.</title>
      <link>https://community.qlik.com/t5/QlikView/hardcode-the-colours-in-a-bar-chart/m-p/1547008#M744675</link>
      <description>&lt;P&gt;Hi, I am just going to provide some advice as my company does not allow me to download any samples from the qlik community, hence, I cannot answer with specifics.&lt;/P&gt;&lt;P&gt;In your bar chart, you go to the expression tab and open up (click on the + to the left) the expression that you want to change the colour for.&amp;nbsp; Go to the background colour option and then create an expression there to define your colours, something like:&lt;/P&gt;&lt;P&gt;IF(AMValue &amp;lt; MinTarget , RED() , IF(AmValue = MinTarget , YELLOW() , GREEN() ))&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;AMValue - Replace this with your expression for AMValue&lt;/P&gt;&lt;P&gt;MinTarget - Replace this with your expression for MinTarget&lt;/P&gt;&lt;P&gt;RED(), YELLOW(), GREEN() - you can replace these with specific RGB values using RGB(n,n,n) to give a very precise colour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 16:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hardcode-the-colours-in-a-bar-chart/m-p/1547008#M744675</guid>
      <dc:creator>NW1965</dc:creator>
      <dc:date>2019-02-20T16:12:26Z</dc:date>
    </item>
  </channel>
</rss>

