<?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: Add color expression to Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298809#M405051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share sample application, Seems you are taking Dimension as Color, May be try the same in Expression BG Color&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 14:07:03 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-05-19T14:07:03Z</dc:date>
    <item>
      <title>Add color expression to Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298805#M405047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to implement specific colors to a Bar chart which is binned using a dual expression as a dimension.&amp;nbsp; The expression to create the dimension is listed below and I'm using an measure to count the number of records.&amp;nbsp; I would like to apply a different RGB color (Green / Yellow / Red) to each bin in the below chart, but nothing is working to add a color as an expression.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Ratio&amp;lt;=.2, Dual('0-20%',2),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.3, Dual('20-30%',4),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.4, Dual('30-40%',6),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.5, Dual('40-50%',8),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.6, Dual('50-60%',10),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.7, Dual('60-70%',30),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Ratio &amp;lt;= .8, Dual('70-80%',40),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('80%+',50))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-05-18 at 11.17.00 AM.png" class="jive-image image-1" src="/legacyfs/online/164043_Screen Shot 2017-05-18 at 11.17.00 AM.png" style="height: 397px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 13:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298805#M405047</guid>
      <dc:creator>joshakehurst</dc:creator>
      <dc:date>2017-05-19T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add color expression to Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298806#M405048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this in the background color for the expression isn't working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Ratio&amp;lt;=.2, LightRed(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.3, Blue(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.4, Green(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.5, Color4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.6, Color5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Ratio&amp;lt;=.7, Color6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Ratio &amp;lt;= .8, Color7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Color8)))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 13:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298806#M405048</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-19T13:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add color expression to Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298807#M405049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah that was my exact thought, but whenever I apply this approach to the color expression every bar is grey like the example screenshot.&amp;nbsp; Perhaps I need to bin the data differently and not use the dual method as the dimension?&amp;nbsp; I'm not sure how else to custom bin the data in the bar chart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 13:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298807#M405049</guid>
      <dc:creator>joshakehurst</dc:creator>
      <dc:date>2017-05-19T13:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add color expression to Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298808#M405050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Max(Ratio)&amp;lt;=.2, LightMagenta(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Max(Ratio)&amp;lt;=.3, Blue(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Max(Ratio)&amp;lt;=.4, Green(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Max(Ratio)&amp;lt;=.5, Red(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Max(Ratio)&amp;lt;=.6, LightGray(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Max(Ratio)&amp;lt;=.7, Brown(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Max(Ratio) &amp;lt;= .8, Yellow(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LightCyan())))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164049_Capture.PNG" style="height: 155px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 14:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298808#M405050</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-19T14:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add color expression to Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298809#M405051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share sample application, Seems you are taking Dimension as Color, May be try the same in Expression BG Color&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 14:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298809#M405051</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-19T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add color expression to Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298810#M405052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep - adding the Max function worked.&amp;nbsp; Thanks for the tip.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 14:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1298810#M405052</guid>
      <dc:creator>joshakehurst</dc:creator>
      <dc:date>2017-05-19T14:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add color expression to Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1797583#M1211393</link>
      <description>&lt;P&gt;how can it work on max function, tell me in this situation&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 13:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-color-expression-to-Bar-Chart/m-p/1797583#M1211393</guid>
      <dc:creator>prudhviqlik</dc:creator>
      <dc:date>2021-04-07T13:08:01Z</dc:date>
    </item>
  </channel>
</rss>

