<?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: Marketshare in pivot for groups seperately calculating wrong in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Marketshare-in-pivot-for-groups-seperately-calculating-wrong/m-p/718125#M258084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is my solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Expression formula:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( VALUE)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum( TOTAL &amp;lt;YEARMONTH,GROUP&amp;gt;&amp;nbsp; VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;a) Expression&amp;nbsp; formula: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;MANUFACTURER={'MANUFACT_MY'}&amp;gt;} VALUE)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(&amp;nbsp;&amp;nbsp; TOTAL &amp;lt;YEARMONTH,GROUP&amp;gt;&amp;nbsp; VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Replace calculated Manufacturer dimension with a regular dimension for manufacturer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 14:20:51 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-09-17T14:20:51Z</dc:date>
    <item>
      <title>Marketshare in pivot for groups seperately calculating wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Marketshare-in-pivot-for-groups-seperately-calculating-wrong/m-p/718124#M258083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have a senario at client where they want to see their marketshare for their products in these products groups. This would now be the marketshare against competitor products.&lt;/P&gt;&lt;P&gt;When i say groups it means my company manufacturer for instance. Group Garden Tools - my product here would be a spade.&lt;/P&gt;&lt;P&gt;second Group would be for instance Lawnmowers - my product would be here Flymo 230 for instance. So what i need is to calculate my products marketshare against competittor products in that group.&lt;/P&gt;&lt;P&gt;My problem comes in where i have the groups in one pivot and instead of calculating the marketshares for each group out of 100% it takes all products of both groups and calculate then the product marketshare out of 100%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end i would like to see my two products with their marketshares within their groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a demo model with what i get and with picture what i actually want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would really be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 12:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Marketshare-in-pivot-for-groups-seperately-calculating-wrong/m-p/718124#M258083</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2014-09-17T12:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Marketshare in pivot for groups seperately calculating wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Marketshare-in-pivot-for-groups-seperately-calculating-wrong/m-p/718125#M258084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is my solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Expression formula:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( VALUE)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum( TOTAL &amp;lt;YEARMONTH,GROUP&amp;gt;&amp;nbsp; VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;a) Expression&amp;nbsp; formula: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;MANUFACTURER={'MANUFACT_MY'}&amp;gt;} VALUE)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(&amp;nbsp;&amp;nbsp; TOTAL &amp;lt;YEARMONTH,GROUP&amp;gt;&amp;nbsp; VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Replace calculated Manufacturer dimension with a regular dimension for manufacturer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 14:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Marketshare-in-pivot-for-groups-seperately-calculating-wrong/m-p/718125#M258084</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-17T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Marketshare in pivot for groups seperately calculating wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Marketshare-in-pivot-for-groups-seperately-calculating-wrong/m-p/718126#M258085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your suggested solution worked perfectly for my senario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank so much !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 20:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Marketshare-in-pivot-for-groups-seperately-calculating-wrong/m-p/718126#M258085</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2014-09-17T20:46:30Z</dc:date>
    </item>
  </channel>
</rss>

