<?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 Color a Bar in a chart a specific color in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662536#M49759</link>
    <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a bar chart displaying two different bars for each month:&lt;/P&gt;&lt;P&gt;Bar #1 Expression:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[ACCOUNTTYPEID]={'A'}&amp;gt;} ACCOUNTAMOUNT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bar #2 Expression:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[ACCOUNTTYPEID]={'B'}&amp;gt;} ACCOUNTAMOUNT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the colors set 'by expression' with the following formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF([ACCOUNTTYPEID]='A',rgb(0,109,51),rgb(186,18,0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not work - colors all bars rgb(186,18,0)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thoughts ? Jerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2020 17:56:11 GMT</pubDate>
    <dc:creator>jerryr125</dc:creator>
    <dc:date>2020-01-03T17:56:11Z</dc:date>
    <item>
      <title>Color a Bar in a chart a specific color</title>
      <link>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662536#M49759</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a bar chart displaying two different bars for each month:&lt;/P&gt;&lt;P&gt;Bar #1 Expression:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[ACCOUNTTYPEID]={'A'}&amp;gt;} ACCOUNTAMOUNT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bar #2 Expression:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[ACCOUNTTYPEID]={'B'}&amp;gt;} ACCOUNTAMOUNT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the colors set 'by expression' with the following formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF([ACCOUNTTYPEID]='A',rgb(0,109,51),rgb(186,18,0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not work - colors all bars rgb(186,18,0)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thoughts ? Jerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 17:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662536#M49759</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-01-03T17:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Color a Bar in a chart a specific color</title>
      <link>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662542#M49760</link>
      <description>&lt;P&gt;You can create the master measure for both the expression and in the property of master measure you can set the color . Now If you create the Bar chart with master measure it will automatically color the bar .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 697px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26349iFD55722CE8732296/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 18:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662542#M49760</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-03T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Color a Bar in a chart a specific color</title>
      <link>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662575#M49771</link>
      <description>&lt;P&gt;This doesn't work because your graph does not use ACCOUNTTYPEID as dimension.&lt;/P&gt;&lt;P&gt;If you set ACCOUNTTYPEID as a dimension, the measure would just be SUM(ACCOUNTAMOUNT) and then your color code would work&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 20:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662575#M49771</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2020-01-03T20:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Color a Bar in a chart a specific color</title>
      <link>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662598#M49782</link>
      <description>&lt;P&gt;correct - the funny thing is I had this already in the application - I added new data with new field names so therefore my master measure did now work!&amp;nbsp; All is good now - thank you for the reminder! Jerry&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2020 01:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-a-Bar-in-a-chart-a-specific-color/m-p/1662598#M49782</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-01-04T01:26:01Z</dc:date>
    </item>
  </channel>
</rss>

