<?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: Custom Report- Market Share Formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546317#M479720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula only works in case of Category and Competitors. Other Dimension does not show any result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2014 19:25:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-21T19:25:20Z</dc:date>
    <item>
      <title>Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546312#M479715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate Market Share for Competitors across various dimensions. Attached is a sample file with competitors and different market divisions. It is a custom report and fields can be selected like a pivot in excel. However i am not able to get the market share formula right. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 18:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546312#M479715</guid>
      <dc:creator />
      <dc:date>2014-01-21T18:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546313#M479716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is what you need (?):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Competitors&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 18:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546313#M479716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T18:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546314#M479717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael. The formula is only working for Competitors field but not for all fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 18:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546314#M479717</guid>
      <dc:creator />
      <dc:date>2014-01-21T18:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546315#M479718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I though this is what you wanted...&lt;/P&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 18:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546315#M479718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T18:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546316#M479719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Sum(total &amp;lt;Category, Competitors&amp;gt; Units)/(sum(Total &amp;lt;Category &amp;gt;Units))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 19:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546316#M479719</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-21T19:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546317#M479720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula only works in case of Category and Competitors. Other Dimension does not show any result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 19:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546317#M479720</guid>
      <dc:creator />
      <dc:date>2014-01-21T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546318#M479721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what you need - a dynamic total&amp;lt;&amp;gt;.&amp;nbsp; You cannot use expression within total&amp;lt;&amp;gt;.&lt;/P&gt;&lt;P&gt;Here is how you can do it.&amp;nbsp; Create a variable Var, define it this way:&lt;/P&gt;&lt;P&gt;='total&amp;lt;' &amp;amp; GetFieldSelections(_dimension) &amp;amp; '&amp;gt;'&lt;/P&gt;&lt;P&gt;Use it in expression:&lt;/P&gt;&lt;P&gt;=Sum($(Var) Units)/(sum(Total &amp;lt;Category &amp;gt;Units))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 19:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546318#M479721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T19:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report- Market Share Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546319#M479722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gaurang: for calculate Market Share, you need to get one total Market (by all competitors) and a parcial Market (for one competitor)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, when you have Category and Competitors, what do you want to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 19:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Report-Market-Share-Formula/m-p/546319#M479722</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2014-01-21T19:40:50Z</dc:date>
    </item>
  </channel>
</rss>

