<?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: Bar chart color doesnt work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718726#M258275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The calculated dimension is if(account=42 or if(account=44, 'School', if(account=43 or if(account=45, 'Office'))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I have an expression like Sum(Costs) and the color expression I tried both:&lt;BR /&gt;=If('School', Red(), if('Office', Green())) and also tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(account=42 or if(account=44, 'Red(), if(account=43 or if(account=45, Blue()))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Jul 2014 13:00:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-05T13:00:09Z</dc:date>
    <item>
      <title>Bar chart color doesnt work</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718724#M258273</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;BR /&gt;I have a calculated dimension in a bar chart and an expression where I have set a condition in the background tab in order to get the bars in different colors. However, it doesn't work, it only works if I go to another sheet and make a selection there which includes some values of my dimension and then go back to the chart. Does someone know the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 12:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718724#M258273</guid>
      <dc:creator />
      <dc:date>2014-07-05T12:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart color doesnt work</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718725#M258274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your color expression look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HCI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 12:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718725#M258274</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-07-05T12:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart color doesnt work</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718726#M258275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The calculated dimension is if(account=42 or if(account=44, 'School', if(account=43 or if(account=45, 'Office'))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I have an expression like Sum(Costs) and the color expression I tried both:&lt;BR /&gt;=If('School', Red(), if('Office', Green())) and also tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(account=42 or if(account=44, 'Red(), if(account=43 or if(account=45, Blue()))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 13:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718726#M258275</guid>
      <dc:creator />
      <dc:date>2014-07-05T13:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart color doesnt work</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718727#M258276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first expression will not work since you don't have any field references in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second could work - if you have "account" as dimension, but I assume that you don't. If you don't, "account" will evaluate to NULL - since there are &lt;EM&gt;several possible accounts&lt;/EM&gt;. It could even be that you have school accounts and office accounts on the same line. Hence, you need to add an aggregation function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more here: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/06/16/use-the-aggregation-functions"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 13:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718727#M258276</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-07-05T13:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart color doesnt work</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718728#M258277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Henric, I included the only function and it works! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 13:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-color-doesnt-work/m-p/718728#M258277</guid>
      <dc:creator />
      <dc:date>2014-07-05T13:42:48Z</dc:date>
    </item>
  </channel>
</rss>

