<?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: GROSS PROFIT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243546#M1187144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am on personal so I can not see the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding a dimension as ='Total'&lt;/P&gt;&lt;P&gt;Change the style of the pivot to indent mode.&lt;/P&gt;&lt;P&gt;make the expression for percent:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(left(&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; font-size: 12pt;"&gt;Invoice&lt;/SPAN&gt;,3)&amp;lt;&amp;gt;'INV', (sum([Sold amount])-sum([Purchase Amount]))/sum([Sold Amount]),&lt;/P&gt;&lt;P&gt;Sum(([Sold amount]-[Purchase Amount])/[Sold Amount]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should tell it for the dimensions invoice to use the previous expression that worked, but if it is on the total of the new dimension total, to use the sum of each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give that a try and see if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 12:26:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-07T12:26:28Z</dc:date>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243531#M1187128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I have more than 100,000 lines showing invoice data. Few lines are shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 279px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="21" width="75"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Invoice NO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none;" width="117"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Purchase Amount&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none;" width="87"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Sold Amount&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV001&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;100&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;125&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV002&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;125&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;130&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV003&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;140&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;148&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV004&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;150&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;165&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV005&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;200&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;250&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I want table as below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="343"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl73" height="21" width="75"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Invoice NO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl74" style="border-left: medium none;" width="117"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Purchase Amount&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl74" style="border-left: medium none;" width="87"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Sold Amount&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none;" width="64"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;% Profit&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV001&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;100&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;125&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;20.00%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV002&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;125&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;130&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;3.85%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV003&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;140&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;148&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;5.41%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV004&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;150&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;165&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;9.09%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl76" height="21" style="border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;INV005&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;200&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;250&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl78" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;20.00%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl79" height="21"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl80" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;715&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl80" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;818&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl81" style="border-left: medium none;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;12.59%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Kindly help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 10:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243531#M1187128</guid>
      <dc:creator />
      <dc:date>2011-09-07T10:51:33Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243532#M1187129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([Sold amount]-[Purchase Amount])/[Sold Amount]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Number Tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Fixed to: 2 Dec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tick on checkbox "Show in %age"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243532#M1187129</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:01:22Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243533#M1187130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This is already done and I am getting TOTAL for "Purchase Amount" and "SOLD AMOUNT" but not getting total for % PROFIT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243533#M1187130</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:08:09Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243534#M1187131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Erika giving the correct answer, if not that is exactly, what you want?&lt;/P&gt;&lt;P&gt;A little more information would be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243534#M1187131</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:32:53Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243535#M1187132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I want total at bottom for Purchase Amount, Sold Amount &amp;amp; % Profit.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243535#M1187132</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:39:17Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243536#M1187133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using a pivot table, you need to go to presentation tab and click show partial summaries for the top dimension, or change the table to a straight table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243536#M1187133</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:41:15Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243537#M1187134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u r using Pivot table: &lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;([Sold amount]-[Purchase Amount])/[Sold Amount]&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243537#M1187134</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:41:47Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243538#M1187135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for your response. Sorry but I am not getting TOTAL by using PIVOT TABLE for % Profit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243538#M1187135</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243539#M1187136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample for clearity&lt;/P&gt;&lt;P&gt;And suntotal of Purchase Amount, Sold Amount &amp;amp; % Profit.....&lt;/P&gt;&lt;P&gt;By the help of straight table you get this in pivot it is not possible for the expression, there you do only on dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243539#M1187136</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T11:52:31Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243540#M1187137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u upload ur Sample App.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243540#M1187137</guid>
      <dc:creator />
      <dc:date>2011-09-07T11:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243541#M1187138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anand, Thanks for your reply by sample attachment.&lt;/P&gt;&lt;P&gt;Kindly note that the Total % Profit should be ﻿12.59% and not 58.34% shown in your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Erika, kindly use sample shown by Anand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243541#M1187138</guid>
      <dc:creator />
      <dc:date>2011-09-07T12:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243542#M1187139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Try&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;something like....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243542#M1187139</guid>
      <dc:creator />
      <dc:date>2011-09-07T12:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243543#M1187140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached new updated file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243543#M1187140</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T12:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243544#M1187141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anand,&lt;/P&gt;&lt;P&gt;Thanks for your quick response. But the total for % profit you shown is actually AVERAGE of % Profit. I need total of % profit which should be :&amp;nbsp; (818-715)/818 = 12.59%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243544#M1187141</guid>
      <dc:creator />
      <dc:date>2011-09-07T12:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243545#M1187142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gabriel,&lt;/P&gt;&lt;P&gt;Good Try, but this will not solve my problem as I want total at bottom of % Profit column.&lt;/P&gt;&lt;P&gt;Also, it will unnecessary take more time for script to execute as I have 100,000 records....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243545#M1187142</guid>
      <dc:creator />
      <dc:date>2011-09-07T12:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243546#M1187144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am on personal so I can not see the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding a dimension as ='Total'&lt;/P&gt;&lt;P&gt;Change the style of the pivot to indent mode.&lt;/P&gt;&lt;P&gt;make the expression for percent:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(left(&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; font-size: 12pt;"&gt;Invoice&lt;/SPAN&gt;,3)&amp;lt;&amp;gt;'INV', (sum([Sold amount])-sum([Purchase Amount]))/sum([Sold Amount]),&lt;/P&gt;&lt;P&gt;Sum(([Sold amount]-[Purchase Amount])/[Sold Amount]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should tell it for the dimensions invoice to use the previous expression that worked, but if it is on the total of the new dimension total, to use the sum of each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give that a try and see if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243546#M1187144</guid>
      <dc:creator />
      <dc:date>2011-09-07T12:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243547#M1187146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it see my next update file there is a litle trick but values are accurate i use this formula.&lt;/P&gt;&lt;P&gt;See the updated one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243547#M1187146</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T12:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243548#M1187148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anand, &lt;/P&gt;&lt;P&gt;Understood your trick but need right answer... LOL....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243548#M1187148</guid>
      <dc:creator />
      <dc:date>2011-09-07T12:46:10Z</dc:date>
    </item>
    <item>
      <title>GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243549#M1187149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;is absolutely&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;necessary to show&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the end&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of the column of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;profit?&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;display on a&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;table without&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dimension,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;only with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243549#M1187149</guid>
      <dc:creator />
      <dc:date>2011-09-07T12:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: GROSS PROFIT</title>
      <link>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243550#M1187150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a trick by the way you can use like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GROSS-PROFIT/m-p/243550#M1187150</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T12:59:58Z</dc:date>
    </item>
  </channel>
</rss>

