<?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: Color Code individual Bars in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467710#M565097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it can be done. Maybe you have not written the condition correctly. Could you attach a sample document?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2013 13:53:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-29T13:53:20Z</dc:date>
    <item>
      <title>Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467708#M565095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am making a bar chart ( below) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to colour code these bars depending on the values they show. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I need to do this on a Bar by Bar basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I asume in the Background Color section of the expressions tab)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;7 days&lt;/P&gt;&lt;P&gt;green :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;90%&lt;/P&gt;&lt;P&gt;yellow:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Between 85% and 90%&lt;/P&gt;&lt;P&gt;red:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;85%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;between&amp;nbsp; 7 and 14 days&lt;/P&gt;&lt;P&gt;Green:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;9%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Yellow:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Between 9% and 15%&lt;/P&gt;&lt;P&gt;Red:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;15%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;between 14 and 21 days&lt;/P&gt;&lt;P&gt;Green:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;3%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Yellow:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Between 3% and 5% &lt;/P&gt;&lt;P&gt;Red:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;21 days &lt;/P&gt;&lt;P&gt;Green :&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 &lt;/P&gt;&lt;P&gt;Red:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression which is currently being used to generate this chart is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=COUNT(Call_Priority)/COUNT(TOTAL ID) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimention used is the field &lt;STRONG&gt;Call_Priority&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can this even be done in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="32739" class="jive-image" alt="screen.png" src="https://community.qlik.com/legacyfs/online/32739_screen.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 13:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467708#M565095</guid>
      <dc:creator />
      <dc:date>2013-01-29T13:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467709#M565096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Levi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;What I suggest you do is go to Chart Properties &amp;gt; Expression &amp;gt; click the + sign beside your dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Select Background Color &amp;gt; then pop this expression into the expression field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(&lt;/SPAN&gt;&lt;STRONG style="color: #737373; background: white; font-size: 10.0pt; background-color: #ffffff; font-family: 'Arial','sans-serif';"&gt;COUNT(Call_Priority)/COUNT(TOTAL ID)&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;gt;90%, Green(), if(&lt;/SPAN&gt;&lt;STRONG style="color: #737373; background: white; font-size: 10.0pt; background-color: #ffffff; font-family: 'Arial','sans-serif';"&gt;COUNT(Call_Priority)/COUNT(TOTAL ID)&amp;gt;85% &amp;amp;&amp;lt;=90%,Yellow(), if(COUNT(Call_Priority)/COUNT(TOTAL ID)&amp;lt;=85%,Red()))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Start to experiment bit by bit&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #737373; background: white; font-size: 10.0pt; background-color: #ffffff; font-family: 'Arial','sans-serif'; font-weight: normal;"&gt;Click ok&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #737373; background: white; font-size: 10.0pt; background-color: #ffffff; font-family: 'Arial','sans-serif'; font-weight: normal;"&gt;Try this and let me know if it works.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 13:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467709#M565096</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2013-01-29T13:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467710#M565097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it can be done. Maybe you have not written the condition correctly. Could you attach a sample document?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 13:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467710#M565097</guid>
      <dc:creator />
      <dc:date>2013-01-29T13:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467711#M565098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gabriel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will colour &lt;EM&gt;&lt;STRONG&gt;all &lt;/STRONG&gt;&lt;/EM&gt;of the bars the same colour basing it on the &lt;EM&gt;&lt;STRONG&gt;same &lt;/STRONG&gt;&lt;/EM&gt;threshold. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a solution which will colour each bar &lt;STRONG&gt;individually &lt;/STRONG&gt;based on it's own threshold. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bar 1 (&amp;lt;=7) should turn green when the value is greater than 90% &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but Bar 2(&amp;gt;7 &amp;lt;=14) should turn green when the value is less than 9 %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this clarifies things&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 13:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467711#M565098</guid>
      <dc:creator />
      <dc:date>2013-01-29T13:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467712#M565099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a datafile here and removed all sensitive data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cart is found on the Resolution Status sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 14:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467712#M565099</guid>
      <dc:creator />
      <dc:date>2013-01-29T14:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467713#M565100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a sample below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 14:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467713#M565100</guid>
      <dc:creator />
      <dc:date>2013-01-29T14:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467714#M565101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using IF() conditions in the background color expression, you have this result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="32740" alt="Capture.PNG" class="jive-image" src="https://community.qlik.com/legacyfs/online/32740_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you have also the document with the expresion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Call_Priority&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '&amp;lt;=7',&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Metric &amp;gt;= 0.9, Green(),&lt;BR /&gt;&lt;BR /&gt; If(Metric &amp;gt;= 0.85, Yellow(), Red())&lt;BR /&gt;&lt;BR /&gt; ),&lt;BR /&gt;&lt;BR /&gt; If(Call_Priority = '&amp;gt;7 &amp;lt;=14',&lt;BR /&gt;&lt;BR /&gt; If(Metric &amp;lt; 0.09, Green(),&lt;BR /&gt;&lt;BR /&gt; If(Metric &amp;lt; 0.15, Yellow(), Red())&lt;BR /&gt;&lt;BR /&gt; ),&lt;BR /&gt;&lt;BR /&gt; If(Call_Priority = '&amp;gt;14 &amp;lt;=21',&lt;BR /&gt;&lt;BR /&gt; If(Metric &amp;lt; 0.03, Green(),&lt;BR /&gt;&lt;BR /&gt; If(Metric &amp;lt; 0.05, Yellow(), Red()&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; ),&lt;BR /&gt;&lt;BR /&gt; If(Call_Priority = '&amp;gt;21',&lt;BR /&gt;&lt;BR /&gt; If(Metric = 0, Green(),&lt;BR /&gt;&lt;BR /&gt; If(Metric &amp;gt; 0, Red())&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467714#M565101</guid>
      <dc:creator />
      <dc:date>2013-01-29T15:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Color Code individual Bars</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467715#M565102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A round of applause for Juan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a perfect solution, does exactly what I need it to and I have also learnt how to do this in the future! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Code-individual-Bars/m-p/467715#M565102</guid>
      <dc:creator />
      <dc:date>2013-01-29T15:34:47Z</dc:date>
    </item>
  </channel>
</rss>

