<?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: Aggregated Percentage Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557212#M208015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a sample app.. that way it will be easier to try different things and suggest the working option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 16:16:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-11T16:16:59Z</dc:date>
    <item>
      <title>Aggregated Percentage Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557211#M208014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table containing two dimensions (week, ressource).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore I have two key figures (capacity, planned).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to set up a chart showing the ratio of planned to the capacity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means I have to devide sum(planned) through the sum of the capacity for each week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thats not correct at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The capacity must be the sum of all ressources for each week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use this expression &lt;STRONG&gt;=SUM(AGGR(sum(capacity),WEEK))&lt;/STRONG&gt; and the result looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="50304" alt="screenshot.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50304_screenshot.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are correct but the capacity must be shown in all rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 08:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557211#M208014</guid>
      <dc:creator />
      <dc:date>2013-12-11T08:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Percentage Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557212#M208015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a sample app.. that way it will be easier to try different things and suggest the working option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557212#M208015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-11T16:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Percentage Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557213#M208016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this blog post: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog"&gt;http://community.qlik.com/blogs/qlikviewdesignblog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should do almost the same, but your expression should be &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(Above(Sum(planned), 0, Count([VGFRSNAME.Resourcename]))) / Sum(total &amp;lt;CW&amp;gt; capacity)&lt;/P&gt;&lt;P&gt;or something similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557213#M208016</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-12-11T16:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Percentage Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557214#M208017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution on my own. But thanks for your reply Aadil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its much easier than I thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just use SUM(TOTAL &amp;lt;[WEEK]&amp;gt; capacity).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression will look like than:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM(planned)/(SUM(TOTAL &amp;lt;[week]&amp;gt; capacity))*100&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-Percentage-Calculation/m-p/557214#M208017</guid>
      <dc:creator />
      <dc:date>2013-12-11T16:27:49Z</dc:date>
    </item>
  </channel>
</rss>

