<?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: consistent bar chart color in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318844#M825302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the background expression that you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 12:08:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-07-17T12:08:17Z</dc:date>
    <item>
      <title>consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318842#M825300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a bar chart in dashboard. I need to display sum of sales for region wise and sales prediction.&lt;/P&gt;&lt;P&gt;Now sales prediction has three values:&lt;/P&gt;&lt;P&gt;1. Win&lt;/P&gt;&lt;P&gt;2. Risk&lt;/P&gt;&lt;P&gt;3. Other&lt;/P&gt;&lt;P&gt;The sum of sales should not affect when sales prediction is selected and sales_Person is selected.&lt;/P&gt;&lt;P&gt;So I am using :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Sales_Prediction=,sales_Person=&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;My first dimension is Region and second in Sales_Prediction. I am using stacked bar chart.&lt;/P&gt;&lt;P&gt;Now I need to color the bar chart as if sales prediction is WIN then Color_1, if RISK then Color_2 and if Other then Color_3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using background color in expression to provide color in bar chart as per sales prediction.&lt;/P&gt;&lt;P&gt;My problem is:&lt;/P&gt;&lt;P&gt;When I am selecting the sales person for whom sales prediction is OTHER, the data in bar chart is not changing (Whis is right), but the color of the bar chart is changing to OTHER sales prediction color.&lt;/P&gt;&lt;P&gt;Is there any way to make the color of the bar chart constant.&lt;/P&gt;&lt;P&gt;I am not supposed to use Alternate state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318842#M825300</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318843#M825301</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;Should work with table color in your load statement.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Create a table color with the RGB value for each value of Sales_Prediction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COLOR_PRED:&lt;BR /&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;R&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;G&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;Sales_Prediction,R,G,B&lt;BR /&gt;Win,0,234,0&lt;BR /&gt;Risk,2,223,130&lt;BR /&gt;Other,205,255,155&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Put &lt;SPAN style="color: #800000;"&gt;Color&lt;/SPAN&gt; in the background color expression of your second dimension&amp;nbsp; Sales_Prediction.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 12:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318843#M825301</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-17T12:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318844#M825302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the background expression that you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 12:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318844#M825302</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-17T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318845#M825303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;So the field Sales_Prediction in inline table will linked to my table.&lt;/P&gt;&lt;P&gt;In this case color will change when I will select sales person who has sales prediction as OTHER.&lt;/P&gt;&lt;P&gt;I do not want bar color to change when I select sales person from list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I am wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 13:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318845#M825303</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2017-07-17T13:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318846#M825304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I am using IF else condition for Bar color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 13:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318846#M825304</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2017-07-17T13:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318847#M825305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have mistaken, you must past in the background color expression of your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have fixed your issue &lt;SPAN style="color: #000000;"&gt;with using&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #000000;"&gt;Only({&amp;lt;Sales_person=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;Color_pred) in the background color expression.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;See the attached qvw file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 14:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318847#M825305</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-17T14:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318848#M825306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does that if then else statement look like &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 14:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318848#M825306</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-17T14:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: consistent bar chart color</title>
      <link>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318849#M825307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean,&lt;/P&gt;&lt;P&gt;Thanks for your help. I am able to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 07:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consistent-bar-chart-color/m-p/1318849#M825307</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2017-07-18T07:04:46Z</dc:date>
    </item>
  </channel>
</rss>

