<?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: Chart Color Change in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137963#M20589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's probably newer, better, and cleaner ways to do this, but I'm including an example I made for this sort of functionality back in 2011, using alternate states. Hopefully someone else can chime in with a cleaner approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2018 14:09:42 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2018-08-14T14:09:42Z</dc:date>
    <item>
      <title>Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137962#M20588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in my bar chart i have state wise data based on sum of sales now my requirement is that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when user select specific any state in the bar chart the selected bar has to be changed in shaded color and remaining state has to be reamin the same the color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example if user select TN that bar has to be in shaded or different color , and remaining bar has to be in same blue color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to achieve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="128"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;State&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;KA&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;TN&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;KL&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;MH&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;DL&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;GJ&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension as State&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expresion as sum(sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137962#M20588</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2018-08-14T13:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137963#M20589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's probably newer, better, and cleaner ways to do this, but I'm including an example I made for this sort of functionality back in 2011, using alternate states. Hopefully someone else can chime in with a cleaner approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137963#M20589</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2018-08-14T14:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137964#M20590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think alternate states are necessary, just set analysis. See attached. Ignore the State= selection in the chart expression and then use a background color expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(State)&amp;gt;0 and State=State&lt;/P&gt;&lt;P&gt;, LightGray(), color(1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Qlikview Cookbook: Focus not Filter &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/recipes/download-info/focus-not-filter/" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com/recipes/download-info/focus-not-filter/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.easyqlik.com" rel="nofollow" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137964#M20590</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-08-14T14:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137965#M20591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does sound like a better, cleaner approach (though it does seem to have a downside - you will always see all the states, and you can't narrow down the list if you're just interested in some). That said, I much prefer this to what I did seven years ago. Good to know. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137965#M20591</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2018-08-14T14:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137966#M20592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if you want to show a subset your alt states solution is an excellent approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137966#M20592</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-08-14T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137967#M20593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shoham or ROB which is better to implement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137967#M20593</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2018-08-14T14:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137968#M20594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shoham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you pls explain your expression plsease&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 15:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137968#M20594</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2018-08-14T15:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137969#M20595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on your final requirement.&amp;nbsp; If it is as simple as stated where everything should be shown but selected states shaded, then I think the set analysis approach I showed is simplest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement becomes more complex such as shading only selections made in the chart, or showing a subset of states, then Or's Alternate State approach will give you more power and flexibility. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 15:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137969#M20595</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-08-14T15:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Color Change</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137970#M20596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks rob &amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;shoham&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 18:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Color-Change/m-p/137970#M20596</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2018-08-14T18:10:10Z</dc:date>
    </item>
  </channel>
</rss>

