<?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: Calculation of market share in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578012#M42103</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This formula did not works, I did the manual calculation to show what I'm looking for,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's for your help again&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-08_16h27_13.png" style="width: 405px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11690iDF9DE1360063A880/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-08_16h27_13.png" alt="2019-05-08_16h27_13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thank you guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2019 14:32:26 GMT</pubDate>
    <dc:creator>ecabanas</dc:creator>
    <dc:date>2019-05-08T14:32:26Z</dc:date>
    <item>
      <title>Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1577890#M42093</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to calculate the number of units Vs the category. for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(sum(unit_quantity*quantity_delivered)
/
Sum({&amp;lt;[Subcategory2]={GetFieldSelections(Subcategory2)}&amp;gt;} unit_quantity*quantity_delivered))-1&lt;/LI-CODE&gt;&lt;P&gt;If I select my brand XX who's is in the Subcategory2: cookies&lt;/P&gt;&lt;P&gt;I would like to calculate the amount of "my" cookies (because I selected my brand in the brand list) Vs the amount of all cookies (that has not been selected in any Subcategory2 List)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 11:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1577890#M42093</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-08T11:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1577899#M42094</link>
      <description>&lt;P&gt;Perhaps just this?&lt;/P&gt;&lt;P&gt;(sum(unit_quantity*quantity_delivered)&lt;BR /&gt;/&lt;BR /&gt;Sum({&amp;lt;[Subcategory2]=P(Subcategory2)&amp;gt;} unit_quantity*quantity_delivered))-1&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 11:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1577899#M42094</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-05-08T11:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1577900#M42095</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(Sum(unit_quantity * quantity_delivered)
/
Sum({&amp;lt;[Subcategory2] = P([Subcategory2]), Brand&amp;gt;} unit_quantity * quantity_delivered)) - 1&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 08 May 2019 11:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1577900#M42095</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-08T11:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578012#M42103</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This formula did not works, I did the manual calculation to show what I'm looking for,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's for your help again&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-08_16h27_13.png" style="width: 405px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11690iDF9DE1360063A880/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-08_16h27_13.png" alt="2019-05-08_16h27_13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thank you guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578012#M42103</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-08T14:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578020#M42104</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(unit_quantity * quantity_delivered)
/
Sum(TOTAL &amp;lt;Category&amp;gt; unit_quantity * quantity_delivered)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 08 May 2019 14:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578020#M42104</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-08T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578034#M42106</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thank's for your patience.&lt;/P&gt;&lt;P&gt;I've isolated the denominator, and I play with the selectors to see how the amount changes (which it shouldn't) and if it changes when I change the selectors. If I select a name, brand, this amount changes but should not, I need to know the units of the total of the category&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I apply a condition like Brand=, EAN= the problem is that if I include this formula the table shows the rest of selections&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-08_17h19_17.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11695i24D0271E18C24D97/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-08_17h19_17.png" alt="2019-05-08_17h19_17.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 15:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578034#M42106</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-08T15:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578036#M42107</link>
      <description>&lt;P&gt;Use if statement my friend&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(WeightSold Expression &amp;lt;&amp;gt; 0, Weight Sold Category Expression)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 08 May 2019 15:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578036#M42107</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-08T15:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578045#M42108</link>
      <description>&lt;P&gt;I put this if statement in the expression and eliminate all the dimensions and I only&amp;nbsp;left one (name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Sum( {&amp;lt;name=&amp;gt;}TOTAL &amp;lt;SubFamilia2&amp;gt; unit_quantity * quantity_delivered) &amp;lt;&amp;gt; 0, 
Sum( {&amp;lt;name=&amp;gt;}TOTAL &amp;lt;SubFamilia2&amp;gt; unit_quantity * quantity_delivered))&lt;/LI-CODE&gt;&lt;P&gt;But the result is the same&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-08_17h43_37.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11697i7E874A5F9C8636EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-08_17h43_37.png" alt="2019-05-08_17h43_37.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 15:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578045#M42108</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-08T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578053#M42109</link>
      <description>&lt;P&gt;No idea what you want. You keep on changing the requirement description with each post. Can you please clearly state what you have and what you want?&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 16:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578053#M42109</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-08T16:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578056#M42110</link>
      <description>&lt;P&gt;Hi sunny&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes is very clear what I'm looking for:&lt;/P&gt;&lt;P&gt;This calculation, independently in the denominator the selections. Only care the category selected to know the number of units that the category has&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I select two units from a category, how could I know the number of units that this category has (all the units, not only the selected)&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 16:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578056#M42110</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-08T16:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of market share</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578065#M42111</link>
      <description>&lt;P&gt;Sorry my friend, I don't understand... may be someone else can help.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 16:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-of-market-share/m-p/1578065#M42111</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-08T16:39:55Z</dc:date>
    </item>
  </channel>
</rss>

