<?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: Compute % with 2 dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1906824#M1217970</link>
    <description>&lt;P&gt;Dear Anthonyj&lt;/P&gt;
&lt;P&gt;Thank you for your quick response, please note that your suggestion does&amp;nbsp; not solve the my problem.&lt;/P&gt;
&lt;P&gt;Kindly refer to attached picture files below for details since you do not have Qlikview.&lt;/P&gt;
&lt;P&gt;Thank you so much, Tracy&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 02:30:26 GMT</pubDate>
    <dc:creator>tracycrown</dc:creator>
    <dc:date>2022-03-18T02:30:26Z</dc:date>
    <item>
      <title>Compute % with 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1906603#M1217968</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;
&lt;P&gt;I have problem to compute **bleep** #SKU% after adding one more dimension (Category) in Table 2, please help urgently.&lt;/P&gt;
&lt;P&gt;Note : I would like to get the same answer for **bleep** #SKU%&amp;nbsp;#in Table 1.&lt;/P&gt;
&lt;P&gt;Thank you, Tracy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1906603#M1217968</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2024-11-15T22:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Compute % with 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1906811#M1217969</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28151"&gt;@tracycrown&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I don't have Qlik View so I can't see your visualisation, but the calculation for percentages is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum([Unit Sold])/Sum(total [Unit Sold])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The total function returns a single value which is the sum of &lt;STRONG&gt;[Unit Sold]&lt;/STRONG&gt; ignoring all dimensions. To control which dimensions you want the&amp;nbsp;&lt;STRONG&gt;total&lt;/STRONG&gt; to take into account you add them between&amp;nbsp;&lt;STRONG&gt;&amp;lt; &amp;gt;&lt;/STRONG&gt;. So if you want to group the aggregation by&amp;nbsp;&lt;STRONG&gt;Category&lt;/STRONG&gt; you add the calculation like this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum([Unit Sold])/Sum(total &amp;lt;Category&amp;gt; [Unit Sold])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anthony&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 01:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1906811#M1217969</guid>
      <dc:creator>anthonyj</dc:creator>
      <dc:date>2022-03-18T01:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compute % with 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1906824#M1217970</link>
      <description>&lt;P&gt;Dear Anthonyj&lt;/P&gt;
&lt;P&gt;Thank you for your quick response, please note that your suggestion does&amp;nbsp; not solve the my problem.&lt;/P&gt;
&lt;P&gt;Kindly refer to attached picture files below for details since you do not have Qlikview.&lt;/P&gt;
&lt;P&gt;Thank you so much, Tracy&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 02:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1906824#M1217970</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2022-03-18T02:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compute % with 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1907367#M1217971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28151"&gt;@tracycrown&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for the clarification it was a big help.&lt;/P&gt;
&lt;P&gt;you can do a cumulative count in your table using the rangesum() and above() functions like this:&lt;/P&gt;
&lt;P&gt;For the running count:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;rangesum(above(Sum([Unit Sold]),0,rowno(total)))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And for the percentage:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;rangesum(above(Sum([Unit Sold]),0,rowno(total)))/sum(total [Unit Sold])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I hope this fits your requirements but if you need anything further please ask.&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anthony&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 22:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compute-with-2-dimensions/m-p/1907367#M1217971</guid>
      <dc:creator>anthonyj</dc:creator>
      <dc:date>2022-03-20T22:05:37Z</dc:date>
    </item>
  </channel>
</rss>

