<?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: Sum as a % of dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23529#M3905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis to get sales for milan as a percentage of sales lombardy:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;City={'Milan'}&amp;gt;} Sales) / Sum({&amp;lt;Region={'Lombardy'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want it to be based on selection then it can get a little trickier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2018 02:59:09 GMT</pubDate>
    <dc:creator>campbellr</dc:creator>
    <dc:date>2018-05-15T02:59:09Z</dc:date>
    <item>
      <title>Sum as a % of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23527#M3903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone ki&lt;SPAN style="font-size: 10pt;"&gt;ndly help me? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have two dimensions (Region, city) and a measure (sale). Here the values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="210"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" width="64"&gt;Region&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;City&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="82"&gt; Sales &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Lombardy&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Milan&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; 127.391,33 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Lombardy&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Milan&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; 119.348,40 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Lazio&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Roma&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&amp;nbsp; 18.511,46 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Tuscany&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Florence&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&amp;nbsp; 87.786,00 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Tuscany&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Siena&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&amp;nbsp; 55.312,22 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Tuscany&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Florence&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; 200.691,51 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Lombardy&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Pavia&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&amp;nbsp; 68.262,00 &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;How can I manage the set analysis in order to have the sales in Milan as a percentage of the sales in Lombardy ?&lt;/P&gt;&lt;P&gt;The result is (127.391,33+119.348,40)/(127.391,33+119.348,40+68.262,00).... but I don't know what to do in&amp;nbsp; a set analysis.&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2018 14:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23527#M3903</guid>
      <dc:creator>mariovella</dc:creator>
      <dc:date>2018-05-13T14:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum as a % of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23528#M3904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Sales)/Sum(TOTAL &amp;lt;Region&amp;gt; Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 15:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23528#M3904</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-14T15:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum as a % of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23529#M3905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis to get sales for milan as a percentage of sales lombardy:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;City={'Milan'}&amp;gt;} Sales) / Sum({&amp;lt;Region={'Lombardy'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want it to be based on selection then it can get a little trickier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 02:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23529#M3905</guid>
      <dc:creator>campbellr</dc:creator>
      <dc:date>2018-05-15T02:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sum as a % of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23530#M3906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ron,&lt;/P&gt;&lt;P&gt;thanks a lot for your help.&lt;/P&gt;&lt;P&gt;As you said, I'm actually looking for a formula&amp;nbsp; based on selection.&lt;/P&gt;&lt;P&gt;Can you help me ?&lt;/P&gt;&lt;P&gt;THANKS &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 12:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23530#M3906</guid>
      <dc:creator>mariovella</dc:creator>
      <dc:date>2018-05-15T12:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sum as a % of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23531#M3907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I'm actually looking for a formula&amp;nbsp; based on selection.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Can you elaborate a little on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 12:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23531#M3907</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-15T12:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sum as a % of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23532#M3908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!! Thanks a lot Sunny. A great help for me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 12:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23532#M3908</guid>
      <dc:creator>mariovella</dc:creator>
      <dc:date>2018-05-15T12:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum as a % of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23533#M3909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="j-thread-post j-rc4"&gt;&lt;DIV&gt;you can try this, similar to what Sunny suggested.&lt;/DIV&gt;&lt;DIV&gt;Sum(total &amp;lt;city&amp;gt; Sales) / Sum(total &amp;lt;Region&amp;gt; Sales)&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 01:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-as-a-of-dimension/m-p/23533#M3909</guid>
      <dc:creator>campbellr</dc:creator>
      <dc:date>2018-05-16T01:22:58Z</dc:date>
    </item>
  </channel>
</rss>

