<?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: Market Share calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587398#M1111004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({&amp;lt;Company = &amp;gt;}units)/sum({1}units)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;NUM(SUM({&amp;lt;Company = &amp;gt;}units)/sum({1}units),'#,##0.00%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 14:51:38 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-03-18T14:51:38Z</dc:date>
    <item>
      <title>Market Share calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587397#M1111003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a List Box to show the market share of different companies based on the country I select in a Text Box. The formula I use is the following one but it does not work... Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;=&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;units&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;units&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;thks,dani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587397#M1111003</guid>
      <dc:creator>danialier</dc:creator>
      <dc:date>2014-03-18T14:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587398#M1111004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({&amp;lt;Company = &amp;gt;}units)/sum({1}units)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;NUM(SUM({&amp;lt;Company = &amp;gt;}units)/sum({1}units),'#,##0.00%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587398#M1111004</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-18T14:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587399#M1111005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you really want... A list box does normally not show a calculation and you cannot make a selection in a text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But - If you show the market shares in a chart where you have Companies as dimension, you can calculate the market shares through&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(units) / Sum(total units)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587399#M1111005</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-03-18T14:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587400#M1111006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps you want the market share in a chart &lt;/P&gt;&lt;P&gt;and you select the country in a listbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587400#M1111006</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-18T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587401#M1111007</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;I assume that there is an association between country and company? I would put Country in a list box and show the market share in a pivot or straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the market share by country, or for all countries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression will be something like (share by country):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum(units) / Sum(Total Units)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or (share for all countries)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum(units) / Sum({&amp;lt;Country=&amp;gt;}Total Units)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The num() function does nothing in these expressions, it just changes the display format of the number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587401#M1111007</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-18T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587402#M1111008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(units)/SUM(TOTAL &amp;lt;Country&amp;gt; units)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 15:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587402#M1111008</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-03-18T15:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587403#M1111009</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;Create a chart based on the Market share and display that one and use list box for country and other selection would be better idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use expression like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;units&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Total &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;units&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 15:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-calculation/m-p/587403#M1111009</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-18T15:09:08Z</dc:date>
    </item>
  </channel>
</rss>

