<?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: Percentage calc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691619#M1066961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still you can use my solution....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Two Expressions&lt;/P&gt;&lt;P&gt;1) SUM(sales)&lt;/P&gt;&lt;P&gt;2) SUM(sales) ...Tick Relative option in Expression Tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 13:55:39 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-02T13:55:39Z</dc:date>
    <item>
      <title>Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691614#M1066956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the Percentage of sales made by Dim1, Dim2 or Dim3.&lt;/P&gt;&lt;P&gt;I am not sure how to write the expression to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have straight table with below dimensions and expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimensions&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Dim1&lt;/P&gt;&lt;P&gt;cyclicgroup contain-Dim2 &amp;amp; Dim3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have created the app with sample data.. please help..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691614#M1066956</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-09-02T13:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691615#M1066957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(Sales)&amp;nbsp; / sum( TOTAL Sales)&amp;nbsp;&amp;nbsp; ...will give you the % of total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try removing the 1st dimension and adding dim1 to the cycle. The new expresison will give you a % of total for any dim you select in the cycle group. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691615#M1066957</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-02T13:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691616#M1066958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use two Expressions&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Sales)&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Sales) ..... Tick Relative option...in expression tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691616#M1066958</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T13:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691617#M1066959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do as both guys said&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691617#M1066959</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-09-02T13:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691618#M1066960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the suggestions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim1 is the main category, so i want it to be always present in the chart and want to switch between Dim2 and Dim3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have updated the data in the app. Please help me with the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691618#M1066960</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-09-02T13:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691619#M1066961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still you can use my solution....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Two Expressions&lt;/P&gt;&lt;P&gt;1) SUM(sales)&lt;/P&gt;&lt;P&gt;2) SUM(sales) ...Tick Relative option in Expression Tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691619#M1066961</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T13:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691620#M1066962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the relative box under the expression tab, the easiest way for straight forward percentage calculation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691620#M1066962</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2014-09-02T13:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691621#M1066963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to do this with the calculation of:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&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;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I attached a workbook for you.&amp;nbsp; QlikView recalculates the sum(sales) when you change dimensions in the group, so, your % total will change accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691621#M1066963</guid>
      <dc:creator />
      <dc:date>2014-09-02T14:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691622#M1066964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you like the Dim2 or Dim3 values to be a % of grand total or a %subtotal of Dim1 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both options below.&amp;nbsp; For the subtotal , use:&amp;nbsp;&amp;nbsp; sum(&amp;nbsp;&amp;nbsp; Sales) / sum(total &amp;lt;Dim1&amp;gt; Sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Percent-test1.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/65722_Percent-test1.PNG.png" style="font-size: 10pt; line-height: 1.5em; width: 620px; height: 384px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691622#M1066964</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-02T14:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calc</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691623#M1066965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for the great help &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, 02 Sep 2014 14:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calc/m-p/691623#M1066965</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-09-02T14:14:50Z</dc:date>
    </item>
  </channel>
</rss>

