<?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: Analyzing the same data using two bar charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969959#M959435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attached file for solution.&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, 27 Oct 2015 10:24:35 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-10-27T10:24:35Z</dc:date>
    <item>
      <title>Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969954#M959429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Chart which displays the sale of a particular brand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this (Fig 1)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103143_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Since, BMW can have competitors. I need to show that as another chart (instead of everything in a single bar chart)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/103144_Capture1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, this is how my dashboard works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. User clicks a brand in a List box provided.&lt;/P&gt;&lt;P&gt;2. Fig 1 shows the sales for that Brand.&lt;/P&gt;&lt;P&gt;3. Fig 2 shows the sales of it's competitors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fig 1 requires a normal SUM(Sales) expression. However, Fig 2 requires values other than the one used in Fig 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this using Set Analysis like SUM({&amp;lt;Brand={*}-{'BMW'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works only for BMW. I need to calculate the value dynamically based on the selection user makes. GetSelections functions are not working inside set. How this can be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969954#M959429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969955#M959430</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;You must chek "Always One Value Selected" in your ListBox for your selections. This ListBox should be your field "Brand" and then use set Analysis like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Brand &amp;lt;&amp;gt; {GetFieldSelections(Brand)} &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helped &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969955#M959430</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2015-10-27T10:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969956#M959432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Comparative analysis will help here&lt;/P&gt;&lt;P&gt;take one Flag competitor then split the Brand Filter in to 2 listboxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use Set analysis with Alternate states if you want to see Company vs Competitors &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969956#M959432</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2015-10-27T10:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969957#M959433</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;Try like this&lt;/P&gt;&lt;P&gt;Chart 1: for BMW&lt;/P&gt;&lt;P&gt;=Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 2 for Competitors:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Brand={'*'}&amp;gt;} Sales) - Sum(Sales) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&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, 27 Oct 2015 10:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969957#M959433</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-10-27T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969958#M959434</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 use the exclude function in the second chart to exclude the current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;Brand=E({$}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Brand&lt;/SPAN&gt;)&amp;gt;}Sales).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope this will resolve the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969958#M959434</guid>
      <dc:creator>arasantorule</dc:creator>
      <dc:date>2015-10-27T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969959#M959435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attached file for solution.&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, 27 Oct 2015 10:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969959#M959435</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-10-27T10:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969960#M959436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan for that quick and brilliant solution. Simply ingenious. Thanks. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969960#M959436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T10:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969961#M959437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the second chart, you can use the e() function, to show the excluded brands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;&lt;STRONG&gt;Brand= e()&lt;/STRONG&gt; &amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969961#M959437</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-27T10:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing the same data using two bar charts</title>
      <link>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969962#M959438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another great solution. Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 10:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyzing-the-same-data-using-two-bar-charts/m-p/969962#M959438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T10:30:59Z</dc:date>
    </item>
  </channel>
</rss>

