<?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 Equation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778977#M455060</link>
    <description>&lt;P&gt;its hard to say what is wrong when there is no visibility to what you are doing also your number (10.8%)does not match your picture as you are only showing part of the numbers.&amp;nbsp; i used the same expression and im getting the rt numbers:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1612191141742.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48109iA669EB8123CD51B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1612191141742.png" alt="edwin_0-1612191141742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 14:53:05 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-02-01T14:53:05Z</dc:date>
    <item>
      <title>Market Share Equation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778483#M455038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need help with a market share equation. I have one table that looks like the following.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Company/ Premiums Written/ Market share&lt;/P&gt;&lt;P&gt;The market share equation looks like the following and is calculating correctly.&lt;BR /&gt;=sum([Premiums Written Amount state])/aggr(NODISTINCT sum({&amp;lt;[Entity Name] = &amp;gt;} [Premiums Written Amount state]), [Year])&lt;/P&gt;&lt;P&gt;I have another table that is the following.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;State/ Premiums written/ Market Share&lt;/P&gt;&lt;P&gt;I'd like to be able to select a company, and the market share calculates each states market share for just that 1 company being 100% versus all companies being the 100%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example if Chubb is selected and their total premium is $100, and their premium in CA is $10, I'd like to see 10% versus maybe 1% if the entire industry premium is $1000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that makes sense. If it doesn't I can try to explain more clearly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 15:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778483#M455038</guid>
      <dc:creator>magnificen7</dc:creator>
      <dc:date>2021-01-29T15:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share Equation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778521#M455039</link>
      <description>&lt;P&gt;if you require the user to select a company then you can do a simple divide by the total:&lt;/P&gt;&lt;P&gt;sum(&lt;SPAN&gt;&amp;nbsp;[Premiums Written Amount state]&lt;/SPAN&gt;)/sum(total &lt;SPAN&gt;&amp;nbsp;[Premiums Written Amount state]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;obviously, it will be across ALL companies if no company is selected&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778521#M455039</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-29T17:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share Equation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778967#M455059</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for responding! I tried that as well and it's not giving me an accurate market share by state. Is it because I have other metrics selected as well? Like the year?&lt;/P&gt;&lt;P&gt;This is what I'm getting with that equation. (attached picture) I would expect the market share for California to show 10.8%.&lt;/P&gt;&lt;P&gt;Do I need to add something in the equation for the year and for the state?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 14:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778967#M455059</guid>
      <dc:creator>magnificen7</dc:creator>
      <dc:date>2021-02-01T14:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share Equation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778977#M455060</link>
      <description>&lt;P&gt;its hard to say what is wrong when there is no visibility to what you are doing also your number (10.8%)does not match your picture as you are only showing part of the numbers.&amp;nbsp; i used the same expression and im getting the rt numbers:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1612191141742.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48109iA669EB8123CD51B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1612191141742.png" alt="edwin_0-1612191141742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 14:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778977#M455060</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-01T14:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share Equation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778990#M455061</link>
      <description>&lt;P&gt;Hi Edwin,&lt;/P&gt;&lt;P&gt;Thanks again for getting back to me.&lt;/P&gt;&lt;P&gt;I realized I had this as my equation&lt;/P&gt;&lt;P&gt;=sum([Premiums Written Amount state])/sum({1} TOTAL [Premiums Written Amount state])&lt;/P&gt;&lt;P&gt;Instead of what you posted. I pasted in what you had and it worked. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 15:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1778990#M455061</guid>
      <dc:creator>magnificen7</dc:creator>
      <dc:date>2021-02-01T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share Equation</title>
      <link>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1779012#M455062</link>
      <description>&lt;P&gt;np&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 15:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Market-Share-Equation/m-p/1779012#M455062</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-01T15:33:53Z</dc:date>
    </item>
  </channel>
</rss>

