<?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 Displaying two different results within an expression as different colour bars in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299929#M578450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using this as background color expression (open attributes by clicking on the plus next to your expression in expression tab):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Category='Chargeable',lightred(),lightblue())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2012 16:15:27 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-02-20T16:15:27Z</dc:date>
    <item>
      <title>Displaying two different results within an expression as different colour bars</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299928#M578449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem which I am sure must be easy to solve, but I'm not entirely sure where to start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a&amp;nbsp; sample qvw. I have some data showing mileage lost due to a number of reasons, traffic, road closure, staff dispute etc etc. Some of these reasons are chargeable and some are not, I'm trying to work out the easiest way of showing the difference so red bars for chargeable and blue for non-chargeable. I have tried moving category as the main dimension and then type as the second dimension, which provides me with the split but doesn't give me the consistent colour theme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance will be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 16:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299928#M578449</guid>
      <dc:creator />
      <dc:date>2012-02-20T16:01:39Z</dc:date>
    </item>
    <item>
      <title>Displaying two different results within an expression as different colour bars</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299929#M578450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using this as background color expression (open attributes by clicking on the plus next to your expression in expression tab):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Category='Chargeable',lightred(),lightblue())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 16:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299929#M578450</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-20T16:15:27Z</dc:date>
    </item>
    <item>
      <title>Displaying two different results within an expression as different colour bars</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299930#M578451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use &lt;STRONG&gt;persistent colors&lt;/STRONG&gt; option in the colors tab which will give you consistent colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 04:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299930#M578451</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-21T04:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying two different results within an expression as different colour bars</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299931#M578452</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;Please find the attached document for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the Background Color expression as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Category = 'Chargeable', RGB(255,0,0), RGB(0,0, 255))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 05:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299931#M578452</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-21T05:12:22Z</dc:date>
    </item>
    <item>
      <title>Displaying two different results within an expression as different colour bars</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299932#M578453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thats great Jagan, thanks for your assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 08:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-two-different-results-within-an-expression-as/m-p/299932#M578453</guid>
      <dc:creator />
      <dc:date>2012-02-21T08:53:17Z</dc:date>
    </item>
  </channel>
</rss>

