<?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: Calculate the percentage with different groups in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561926#M43920</link>
    <description>Hi Sunny,&lt;BR /&gt;Thanks for quick Reply&lt;BR /&gt;But I am getting 0 with the above code.&lt;BR /&gt;Please help me&lt;BR /&gt;Regards,&lt;BR /&gt;Jay</description>
    <pubDate>Wed, 27 Mar 2019 13:48:36 GMT</pubDate>
    <dc:creator>djaykumar</dc:creator>
    <dc:date>2019-03-27T13:48:36Z</dc:date>
    <item>
      <title>Calculate the percentage with different groups</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561918#M43918</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am having issue with Percentage calculation with different group elements.&lt;/P&gt;
&lt;P&gt;Please find below my report&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;GroupName&lt;/TD&gt;
&lt;TD&gt;SBU&lt;/TD&gt;
&lt;TD&gt;Mod&amp;nbsp; Amount&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Sales&lt;/TD&gt;
&lt;TD&gt;Commission&lt;/TD&gt;
&lt;TD&gt;204,045,960&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Sales&lt;/TD&gt;
&lt;TD&gt;Customer Support&lt;/TD&gt;
&lt;TD&gt;989,000,000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Sales&lt;/TD&gt;
&lt;TD&gt;Manufacturing -Parts Export&lt;/TD&gt;
&lt;TD&gt;56,702,200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Sales&lt;/TD&gt;
&lt;TD&gt;Slim&lt;/TD&gt;
&lt;TD&gt;1,511,273,500&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Sales&lt;/TD&gt;
&lt;TD&gt;Turnkey&lt;/TD&gt;
&lt;TD&gt;830,075,000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Material&amp;nbsp; Cost&lt;/TD&gt;
&lt;TD&gt;Customer Support&lt;/TD&gt;
&lt;TD&gt;-411,150,000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Material&amp;nbsp; Cost&lt;/TD&gt;
&lt;TD&gt;Manufacturing -Parts Export&lt;/TD&gt;
&lt;TD&gt;-33,371,320&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Material&amp;nbsp; Cost&lt;/TD&gt;
&lt;TD&gt;Slim&lt;/TD&gt;
&lt;TD&gt;-1,049,064,100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Material&amp;nbsp; Cost&lt;/TD&gt;
&lt;TD&gt;Turnkey&lt;/TD&gt;
&lt;TD&gt;-570,420,000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;In the above report Client wants the percentage calculation ie.,&amp;nbsp; materialcost&amp;nbsp; Customer Support (-411150000) divided by&lt;/P&gt;
&lt;P&gt;sales Customer Support (989000000) and MaterialCost Manufacturing Parts Export (-33371320) divided by sales Manufacturing Parts Export (56702200) and so on...&lt;/P&gt;
&lt;P&gt;And all the calculated Percentages will be displayed only in material cost respective fields and in sales fields it should show 0.&lt;/P&gt;
&lt;P&gt;Please help me in this.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 17:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561918#M43918</guid>
      <dc:creator>djaykumar</dc:creator>
      <dc:date>2019-06-26T17:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the percentage with different groups</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561922#M43919</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;GroupName = {"Material Cost"}&amp;gt;} [Mod Amount])
/
Sum(TOTAL &amp;lt;SBU&amp;gt; {&amp;lt;GroupName = {"Sales"}&amp;gt;} [Mod Amount])&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Mar 2019 13:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561922#M43919</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-03-27T13:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the percentage with different groups</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561926#M43920</link>
      <description>Hi Sunny,&lt;BR /&gt;Thanks for quick Reply&lt;BR /&gt;But I am getting 0 with the above code.&lt;BR /&gt;Please help me&lt;BR /&gt;Regards,&lt;BR /&gt;Jay</description>
      <pubDate>Wed, 27 Mar 2019 13:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561926#M43920</guid>
      <dc:creator>djaykumar</dc:creator>
      <dc:date>2019-03-27T13:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the percentage with different groups</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561932#M43921</link>
      <description>&lt;P&gt;Seems like you have two spaces between Material and Cost... try this&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;GroupName = {"Material  Cost"}&amp;gt;} [Mod  Amount])
/
Sum(TOTAL &amp;lt;SBU&amp;gt; {&amp;lt;GroupName = {"Sales"}&amp;gt;} [Mod  Amount])&lt;/PRE&gt;&lt;P&gt;This worked for me in QlikView&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 422px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8926i1F189D836EA88446/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 14:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1561932#M43921</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-03-27T14:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the percentage with different groups</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1562177#M43922</link>
      <description>Hi Sunny,&lt;BR /&gt;Its working perfectly .&lt;BR /&gt;Thank you very much&lt;BR /&gt;Regards,&lt;BR /&gt;Jay</description>
      <pubDate>Thu, 28 Mar 2019 03:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-the-percentage-with-different-groups/m-p/1562177#M43922</guid>
      <dc:creator>djaykumar</dc:creator>
      <dc:date>2019-03-28T03:38:07Z</dc:date>
    </item>
  </channel>
</rss>

