<?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 Highlighting Bar Chart based on Current Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Highlighting-Bar-Chart-based-on-Current-Selections/m-p/924777#M964504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This video has a detailed explanation on How to highlight Bar Chart based on Current selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=LcdnSzqF-Wo" title="https://www.youtube.com/watch?v=LcdnSzqF-Wo"&gt;Highlight QlikView Bar Chart based on Current Selections - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This simple logic, if given in Expression -&amp;gt; Background Color&amp;nbsp; gets that done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetSelectedCount(Procuct)&amp;gt;=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match(Vertical, $(=vBarHighlight)) = 1,&amp;nbsp; Green(),blue()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&amp;nbsp; blue()&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly when there is a single dimension. Say, I have a dimension Year which has values 2012,2013. Both the bars should be highlighted in different colors. The above solution works only for single dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on how to do this for multiple dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 07:09:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-07T07:09:41Z</dc:date>
    <item>
      <title>Highlighting Bar Chart based on Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-Bar-Chart-based-on-Current-Selections/m-p/924777#M964504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This video has a detailed explanation on How to highlight Bar Chart based on Current selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=LcdnSzqF-Wo" title="https://www.youtube.com/watch?v=LcdnSzqF-Wo"&gt;Highlight QlikView Bar Chart based on Current Selections - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This simple logic, if given in Expression -&amp;gt; Background Color&amp;nbsp; gets that done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetSelectedCount(Procuct)&amp;gt;=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match(Vertical, $(=vBarHighlight)) = 1,&amp;nbsp; Green(),blue()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&amp;nbsp; blue()&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly when there is a single dimension. Say, I have a dimension Year which has values 2012,2013. Both the bars should be highlighted in different colors. The above solution works only for single dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on how to do this for multiple dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 07:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-Bar-Chart-based-on-Current-Selections/m-p/924777#M964504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-07T07:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Bar Chart based on Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-Bar-Chart-based-on-Current-Selections/m-p/924778#M964505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same Condition with&amp;nbsp; a small add on&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetSelectedCount(Procuct)&amp;gt;=1 or (Second dimension condition),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match(Vertical, $(=vBarHighlight)) = 1,&amp;nbsp; Green(),blue()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&amp;nbsp; blue()&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope You Will get&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 07:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-Bar-Chart-based-on-Current-Selections/m-p/924778#M964505</guid>
      <dc:creator />
      <dc:date>2015-10-07T07:28:26Z</dc:date>
    </item>
  </channel>
</rss>

