<?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: Calculating Relative % values for each X axis values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024970#M936518</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;In expression, just give &lt;STRONG&gt;sum(Sales)/sum(TOTAL&amp;lt;year&amp;gt;Sales.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vignesh U.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 09:51:00 GMT</pubDate>
    <dc:creator>vicky_qv</dc:creator>
    <dc:date>2016-02-25T09:51:00Z</dc:date>
    <item>
      <title>Calculating Relative % values for each X axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024966#M936512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have my Primary Dimension as Year and Product Category as my Secondary Dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While calculating Sales %, I usually use Sum(Sales) with Relative option checked. If I do that, I get something like the below chart&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115887_1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here, the expression takes into account the values of all the 6 bars and then calculate a value. However, I need to get the relative split for each year. Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/115888_2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The above image has 2 Charts, one for 2014 and 2015. Is there a way to do it in a single chart? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I don't want to use two expression in a single chart, because I want to make use of the Dimension selection option that is available by default and I have used this expression as Sum({1}Sales) since I have to highlight the selected Bar Chart and gray out the non selected something like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/115904_3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though these are all work around's for a particular problem. I'm curious enough to know Is it possible to implement all the above features in a single bar chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 06:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024966#M936512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T06:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Relative % values for each X axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024967#M936513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u chkd option for all expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;relative&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 06:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024967#M936513</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-25T06:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Relative % values for each X axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024968#M936514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just have a single expression. The three bars represent Secondary Dimension values. And, Yes. I checked the relative option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 06:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024968#M936514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T06:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Relative % values for each X axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024969#M936516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;sum(Sales)/sum(Total &amp;lt;Year&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should give you percentages per year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 08:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024969#M936516</guid>
      <dc:creator />
      <dc:date>2016-02-25T08:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Relative % values for each X axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024970#M936518</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;In expression, just give &lt;STRONG&gt;sum(Sales)/sum(TOTAL&amp;lt;year&amp;gt;Sales.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vignesh U.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 09:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024970#M936518</guid>
      <dc:creator>vicky_qv</dc:creator>
      <dc:date>2016-02-25T09:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Relative % values for each X axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024971#M936521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And dont check the Relative checkbox in expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 09:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Relative-values-for-each-X-axis-values/m-p/1024971#M936521</guid>
      <dc:creator>vicky_qv</dc:creator>
      <dc:date>2016-02-25T09:52:09Z</dc:date>
    </item>
  </channel>
</rss>

