<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466696#M174381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a string that contains a list of selected dimensions, for example in a variable DimensionList.&amp;nbsp; Or function GetFieldSelections, if your dimensions don't contain spaces.&amp;nbsp; Your expression would be&lt;/P&gt;&lt;P&gt;Sum(sales)/sum(TOTAL&amp;lt;$(DimensionList)&amp;gt;Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2013 17:31:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-21T17:31:39Z</dc:date>
    <item>
      <title>Market Share</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466692#M174377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table which contains some conditional dimensions and expressions. One of the expression is market share, I am using the following expression for market share:&lt;/P&gt;&lt;P&gt;sum(sales)/sum(TOTAL&amp;lt;Dimension&amp;gt;Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting correct market share but lets say i increased the dimensions from 3 to 10, then if i go by the above fromula then i will have to write all the 10 dimensions in the angle bracket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other method to calculate market share? Please help guys..................I am attaching the data file and the qvw file for the reference...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 16:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466692#M174377</guid>
      <dc:creator />
      <dc:date>2013-03-21T16:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466693#M174378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, you'll have to add the dimensions to the expression. Unless you want to precalculate the shares in the script. That's going to be a bit messy though. It's certainly not less work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 16:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466693#M174378</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-21T16:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466694#M174379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert for the Reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i have a small doubt on that also. Lets say I put 10 dimension in the formula and i select only four dimesnions, will that give me correct market share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 16:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466694#M174379</guid>
      <dc:creator />
      <dc:date>2013-03-21T16:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466695#M174380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's say my expression for the market share is:&lt;/P&gt;&lt;P&gt;Sum(sales)/sum(TOTAL&amp;lt;Dim1, Dim2, Dim3, Dim4, Dim5&amp;gt;Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my current selection&amp;nbsp; is:&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;Dim1&lt;/P&gt;&lt;P&gt;Dim2&lt;/P&gt;&lt;P&gt;Dim3&lt;/P&gt;&lt;P&gt;Market Share&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will it show me the correct market share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 17:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466695#M174380</guid>
      <dc:creator />
      <dc:date>2013-03-21T17:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466696#M174381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a string that contains a list of selected dimensions, for example in a variable DimensionList.&amp;nbsp; Or function GetFieldSelections, if your dimensions don't contain spaces.&amp;nbsp; Your expression would be&lt;/P&gt;&lt;P&gt;Sum(sales)/sum(TOTAL&amp;lt;$(DimensionList)&amp;gt;Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 17:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share/m-p/466696#M174381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-21T17:31:39Z</dc:date>
    </item>
  </channel>
</rss>

