<?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 Problem with bars coloring in calculated dimensions chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-bars-coloring-in-calculated-dimensions-chart/m-p/309822#M114405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show how many sales are 'Good', 'Average' or 'Poor' in each state, I have a bar chart with 2 dimensions state, and a calculated dimension "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(sales&amp;gt;2,'Good', if(sales&amp;gt;=0,'Average', If(sales&amp;lt;0,'Poor')))&lt;/EM&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each rate, they have different colors, 'Good' - green, 'Average' - Yellow, 'Poor' - Red. Currently, I am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; "&lt;EM&gt;=if(sales2&amp;gt;2,RGB(0,255,0), if(sales2&amp;gt;=0,RGB(255,255,0), If(sales2&amp;lt;0,RGB(255,0,0))))&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in calculated colors expression, it worked well when all the rates 'Good', 'Average' and 'Poor' have value but I have problem when there is no any sales in 'Good' rate which mean greater than 2 in my data. Please help, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize if my explanation is not clear, below I have attatched with the sample document to help you for better understanding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2011 09:26:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-06-22T09:26:27Z</dc:date>
    <item>
      <title>Problem with bars coloring in calculated dimensions chart</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-bars-coloring-in-calculated-dimensions-chart/m-p/309822#M114405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show how many sales are 'Good', 'Average' or 'Poor' in each state, I have a bar chart with 2 dimensions state, and a calculated dimension "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(sales&amp;gt;2,'Good', if(sales&amp;gt;=0,'Average', If(sales&amp;lt;0,'Poor')))&lt;/EM&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each rate, they have different colors, 'Good' - green, 'Average' - Yellow, 'Poor' - Red. Currently, I am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; "&lt;EM&gt;=if(sales2&amp;gt;2,RGB(0,255,0), if(sales2&amp;gt;=0,RGB(255,255,0), If(sales2&amp;lt;0,RGB(255,0,0))))&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in calculated colors expression, it worked well when all the rates 'Good', 'Average' and 'Poor' have value but I have problem when there is no any sales in 'Good' rate which mean greater than 2 in my data. Please help, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize if my explanation is not clear, below I have attatched with the sample document to help you for better understanding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 09:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-bars-coloring-in-calculated-dimensions-chart/m-p/309822#M114405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T09:26:27Z</dc:date>
    </item>
  </channel>
</rss>

