<?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: Custom Colors on Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392276#M564370</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;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code will for Chocolat will work fine, if(Product Group='Choclate',color(Brown()), but &lt;/P&gt;&lt;P&gt;e.g. Aero, Snickers etc are Products in a seperate field e.g called Products and each product needs a seperate&lt;/P&gt;&lt;P&gt;color. &lt;/P&gt;&lt;P&gt;Your code results in the Products having the color Brown, Aero inherits Brown instead of showing Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to see is&lt;/P&gt;&lt;P&gt;Choclat (Product Group field) = Brown&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aero&amp;nbsp;&amp;nbsp;&amp;nbsp; (Products field)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Red &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll also be using drill down in the Stacked Bar Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2013 08:59:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-01T08:59:17Z</dc:date>
    <item>
      <title>Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392273#M564367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I set the color for the values in say a field called Product Group, e.g.Choclate = color Brown, Snacks = color Blue AND&lt;/P&gt;&lt;P&gt;set the color for each Product, in thier respective Product Group, e.g. Aero = color Red, , Crisps = color Green etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 00:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392273#M564367</guid>
      <dc:creator />
      <dc:date>2013-02-01T00:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392274#M564368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiich&lt;/P&gt;&lt;P&gt;see the attached image&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;I set the color for the values in say a field called Product Group, e.g.Choclate = color Brown, Snacks = color Blue AND&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;set the color for each Product, in thier respective Product Group, e.g. Aero = color Red, , Crisps = color Green etc.&lt;/P&gt;&lt;P&gt;acc. to this&lt;/P&gt;&lt;P&gt;you put expression i.e&lt;/P&gt;&lt;P&gt;if(Product Group='Choclate',color(Brown()),&lt;/P&gt;&lt;P&gt;if(Product Group='Brown',color(Blue()),&lt;/P&gt;&lt;P&gt;if(Product Group='Aero',color(red()),&lt;/P&gt;&lt;P&gt;if(Product Group='Crisps',color(green())))))&lt;/P&gt;&lt;P&gt;hope it helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 05:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392274#M564368</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-02-01T05:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392275#M564369</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;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code will for Chocolat will work fine, if(Product Group='Choclate',color(Brown()), but &lt;/P&gt;&lt;P&gt;e.g. Aero, Snickers etc are Products in a seperate field e.g called Products and each product needs a seperate&lt;/P&gt;&lt;P&gt;color. &lt;/P&gt;&lt;P&gt;Your code results in the Products having the color Brown, Aero inherits Brown instead of showing Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to see is&lt;/P&gt;&lt;P&gt;Choclat (Product Group field) = Brown&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aero&amp;nbsp;&amp;nbsp;&amp;nbsp; (Products field)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Red &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll also be using drill down in the Stacked Bar Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 08:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392275#M564369</guid>
      <dc:creator />
      <dc:date>2013-02-01T08:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392276#M564370</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;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code will for Chocolat will work fine, if(Product Group='Choclate',color(Brown()), but &lt;/P&gt;&lt;P&gt;e.g. Aero, Snickers etc are Products in a seperate field e.g called Products and each product needs a seperate&lt;/P&gt;&lt;P&gt;color. &lt;/P&gt;&lt;P&gt;Your code results in the Products having the color Brown, Aero inherits Brown instead of showing Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to see is&lt;/P&gt;&lt;P&gt;Choclat (Product Group field) = Brown&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aero&amp;nbsp;&amp;nbsp;&amp;nbsp; (Products field)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Red &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll also be using drill down in the Stacked Bar Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 08:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392276#M564370</guid>
      <dc:creator />
      <dc:date>2013-02-01T08:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392277#M564371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m confused in it now you say clearly that product is separate field&lt;/P&gt;&lt;P&gt;so for in above code for aero try this&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product ='Aero',color(red()),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product ='Crisps',color(green()))&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 09:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392277#M564371</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-02-01T09:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392278#M564372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All values in the Product field inherit the Color Brown from if(Product Group='Choclate',color(Brown())&lt;/P&gt;&lt;P&gt;Using&amp;nbsp; if(Product ='Aero',color(red()) is ibeing ignored, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 09:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392278#M564372</guid>
      <dc:creator />
      <dc:date>2013-02-01T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392279#M564373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;alt(if(Product Group='Choclate',color(Brown()),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product Group='Brown',color(Blue()),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(Product ='Aero',color(red()),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product ='Crisps',color(green()))))))&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 09:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392279#M564373</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-02-01T09:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392280#M564374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikQuest,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming I understand what you want to achieve!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is click on the chart &amp;gt; Properties &amp;gt; Expression &amp;gt; click the + sign beside dimension &amp;gt; click Background color &amp;gt; then to the right side click the ecllipse (...) and paste this expression into the EDIT EXPRESSION window&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product Group='Choclate',color(Brown()),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product Group='Brown',color(Blue()),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product Group='Aero',color(red()),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if(Product Group='Crisps',color(green())))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Click OK &amp;amp; OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 10:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392280#M564374</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2013-02-01T10:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392281#M564375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Er,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I;m afraid that still doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All products, i.e. Aero are inheriting the Color Brown set by, if(Product Group='Choclate',color(Brown())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sticking with it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 11:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392281#M564375</guid>
      <dc:creator />
      <dc:date>2013-02-01T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Colors on Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392282#M564376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gabriel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However what I need to see is&lt;/P&gt;&lt;P&gt;Choclat (Product Group field) = Brown&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aero&amp;nbsp;&amp;nbsp;&amp;nbsp; (Products field)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Red &lt;/P&gt;&lt;P&gt;&amp;nbsp; Mars Bar&amp;nbsp; (Products field)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Orange etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code results in All products Aeroet in the Products field being colored Brown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 11:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Colors-on-Bar-Chart/m-p/392282#M564376</guid>
      <dc:creator />
      <dc:date>2013-02-01T11:06:49Z</dc:date>
    </item>
  </channel>
</rss>

