<?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: Express Total Margin within Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616802#M1116618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(sum([List Price] - [Discounted Value]) - sum(Cost)) / sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[List Price] - [Discounted Value]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;another way &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if you have a calculated field in your chart you can use it in the expressions in same chart using the label of that field&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2014 10:46:20 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-02-07T10:46:20Z</dc:date>
    <item>
      <title>Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616799#M1116612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table which calulates gross margin per line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When multiple lines are selected, it dispays the average % margin - 41%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you express the totals line to show the margin for the total value - in this case (Nett-Cost) / Nett, which should be 39% &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="93"&gt;Item&lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="59"&gt;£ List &lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="69"&gt;Nett Price&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="46"&gt;£ Cost&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;£ Margin&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2,000&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,000&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;3,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2,000&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,000&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;4,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;3,000&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,500&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,900&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,500&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;E&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;40%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;400&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;G&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,000&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;H&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;4,000&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2,900&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;28%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;I&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;4,000&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,500&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,000&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;33%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;&lt;STRONG&gt; Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;&lt;STRONG&gt;16,300&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;&lt;STRONG&gt;9,900&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;&lt;STRONG&gt;41%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616799#M1116612</guid>
      <dc:creator />
      <dc:date>2014-02-06T15:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616800#M1116614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(sum([Nett Price]) - sum(Cost)) / sum([Nett Price])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="a.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/52709_a.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616800#M1116614</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-06T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616801#M1116616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works well, the only issue I have is that my Nett price is derived from a calculation of ‘List Price less Discounted Value’.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to include the calculated fields in the formula below, so something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum() - sum(Cost)) / sum()&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 09:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616801#M1116616</guid>
      <dc:creator />
      <dc:date>2014-02-07T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616802#M1116618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(sum([List Price] - [Discounted Value]) - sum(Cost)) / sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[List Price] - [Discounted Value]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;another way &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if you have a calculated field in your chart you can use it in the expressions in same chart using the label of that field&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 10:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616802#M1116618</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-07T10:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616803#M1116620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have revisted my table but still have a few issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two input fields created, one for quantity and one for discount, The values for List Price and Cost are created by multiplying the input fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should it be possible to see a calculated total margin, if input fields are contained within the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616803#M1116620</guid>
      <dc:creator />
      <dc:date>2014-02-17T11:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616804#M1116621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Putting the calculation for margin value into the script may help the data to roll up correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 14:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616804#M1116621</guid>
      <dc:creator>timsaddler</dc:creator>
      <dc:date>2014-02-17T14:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616805#M1116622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am working with Paul on this tool as well. The problem we are encountering is that we are not getting the total margin % at the bottom of all the individual margins. If I select 'Expression Total', it doesn't return any value but a '-'. If I select Sum of Rows, it literally adds up all the numbers which is not correct either. Selecting Average of Rows gives us the the Avg which is near to but still not correct Margin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula for margin is : ''([Total Net Price]-[Total Cost])/[Total Net Price]'' where Total Net Price and Total Cost are also formulae. I heard that the Aggregation 'AGGR' function might be of help. So can anyone please guide me through AGGR function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Tim, can you please elaborate on what should be done in the script breifly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zarar &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 07:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616805#M1116622</guid>
      <dc:creator />
      <dc:date>2014-08-20T07:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616806#M1116623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put the calculation into the script instead of the Expression box. Then the roll up should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 13:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616806#M1116623</guid>
      <dc:creator>timsaddler</dc:creator>
      <dc:date>2014-08-29T13:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Express Total Margin within Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616807#M1116624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To explain better... here's an example from one of my scripts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Extended Price"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SalesExcLevy&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Aggregate Levy"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AggLevy&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Extended Price"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; + &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Aggregate Levy"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SalesIncLevy&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Std Cost Haulage"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;'StdCostOfHaulage'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Split_Std_Cost_Of_Haulage"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;'SplitStdCostOfHaulage'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Actual_Cost_of_Haulage"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;'ActCostOfHaulage'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;STRONG style="text-decoration: underline;"&gt;&amp;nbsp;&amp;nbsp; (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;"Extended Price"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; + &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;"Aggregate Levy"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;"Std Cost Haulage"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; text-decoration: underline;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; text-decoration: underline;"&gt;as&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;StdExWorksSalesIncLevy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 13:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Express-Total-Margin-within-Straight-Table/m-p/616807#M1116624</guid>
      <dc:creator>timsaddler</dc:creator>
      <dc:date>2014-08-29T13:25:42Z</dc:date>
    </item>
  </channel>
</rss>

