<?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: Divide some value of same column. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524842#M196097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to explain better:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44559" class="jive-image-thumbnail jive-image" onclick="" alt="tabella.png" src="https://community.qlik.com/legacyfs/online/44559_tabella.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this table where there are Product, Division and Country.&lt;/P&gt;&lt;P&gt;The expression to calculate "Vendite" (Sales) is the following:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13748253508458908" jivemacro_uid="_13748253508458908"&gt;&lt;P&gt;=Sum(LineSalesAmount)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column "Quota di mercato" (Market Share) is calculated as follow:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13748254672459877" jivemacro_uid="_13748254672459877"&gt;&lt;P&gt;=Sum(LineSalesAmount) / Sum(Total LineSalesAmount) * 100&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i have to calculate "Indice di penetrazione" (Penetration Index).&lt;BR /&gt;The math formula is this : &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13748255639319996" jivemacro_uid="_13748255639319996"&gt;&lt;P&gt;PenetrationIndex = (CountryMarketShare / DivisionMarketShare) * 100&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jul 2013 08:01:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-26T08:01:24Z</dc:date>
    <item>
      <title>Divide some value of same column.</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524840#M196095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this pivot table: &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44530" class="jive-image-thumbnail jive-image" onclick="" alt="tabella.png" src="https://community.qlik.com/legacyfs/online/44530_tabella.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the column "Total" i'd like to divide each partial value of "Quota di Mercato" by Country, with total value of "Quota di Mercato" by Division.&lt;BR /&gt;For example:&lt;BR /&gt;- In corrispondence of "Belgium" i'd like to have: 0,09% / &lt;STRONG&gt;2,11%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- In corrispondence of "Germany": 0,85% / &lt;STRONG&gt;2,11%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- and so on... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still not very good with the QlikView sintax expression, so i need help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 13:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524840#M196095</guid>
      <dc:creator />
      <dc:date>2013-07-25T13:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Divide some value of same column.</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524841#M196096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To calculate the total of Quota di Mercato by division you can use sum(total &amp;lt;Division&amp;gt; Data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 14:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524841#M196096</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2013-07-25T14:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Divide some value of same column.</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524842#M196097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to explain better:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44559" class="jive-image-thumbnail jive-image" onclick="" alt="tabella.png" src="https://community.qlik.com/legacyfs/online/44559_tabella.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this table where there are Product, Division and Country.&lt;/P&gt;&lt;P&gt;The expression to calculate "Vendite" (Sales) is the following:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13748253508458908" jivemacro_uid="_13748253508458908"&gt;&lt;P&gt;=Sum(LineSalesAmount)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column "Quota di mercato" (Market Share) is calculated as follow:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13748254672459877" jivemacro_uid="_13748254672459877"&gt;&lt;P&gt;=Sum(LineSalesAmount) / Sum(Total LineSalesAmount) * 100&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i have to calculate "Indice di penetrazione" (Penetration Index).&lt;BR /&gt;The math formula is this : &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13748255639319996" jivemacro_uid="_13748255639319996"&gt;&lt;P&gt;PenetrationIndex = (CountryMarketShare / DivisionMarketShare) * 100&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 08:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524842#M196097</guid>
      <dc:creator />
      <dc:date>2013-07-26T08:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Divide some value of same column.</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524843#M196098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Daveamz01 mentioned, you can add a field list to the TOTAL qualifier, stating the dimensions that still need to be considered in your aggregation. So your Index could probably calculated like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(TOTAL&amp;lt;ProductName, DivisionName&amp;gt; LineSalesAmount) / Sum(TOTAL LineSalesAmount) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 09:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524843#M196098</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-26T09:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Divide some value of same column.</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524844#M196099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like: &lt;/P&gt;&lt;P&gt;CountryMarketShare / (sum(total &amp;lt;ProductName&amp;gt; LineSalesAmount)/sum(total LineSalesAmount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 09:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524844#M196099</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-07-26T09:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Divide some value of same column.</title>
      <link>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524845#M196100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it works perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 09:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Divide-some-value-of-same-column/m-p/524845#M196100</guid>
      <dc:creator />
      <dc:date>2013-07-26T09:32:00Z</dc:date>
    </item>
  </channel>
</rss>

