<?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/760147#M1023201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum([Sales Value])/sum([Cost Value]) -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 13:57:43 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-03-20T13:57:43Z</dc:date>
    <item>
      <title>Gross Profit%</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760146#M1023200</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 am building a sales model and calculated GP by [Sales Value]-[Cost Value].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now want to calculate the percentage but not using "Relative" as it calculates out of 100%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to see my records going over 100%. How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 13:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760146#M1023200</guid>
      <dc:creator />
      <dc:date>2015-03-20T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Profit%</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760147#M1023201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum([Sales Value])/sum([Cost Value]) -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 13:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760147#M1023201</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-20T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Profit%</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760148#M1023202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The classical definition of Gross Profit Margin is "% of Profit compared to Sales"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sales - Cost) / Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This definition, however, will never go over 100%, but it's not the same as using "Relative" either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation suggested by Gysbert is used in some countries. It represents the "Markup %" - what's the % of your profit, compared to the initial cost:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sales - Cost) / Cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This calculation can go over 100%, but I'd be careful calling it "Gross Profit Margin %", because you might be misleading your users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm describing many of these business definitions, along with the corresponding QlikView techniques, in my new book &lt;STRONG&gt;QlikView Your Business&lt;/STRONG&gt; - coming out soon. Check it out on Amazon!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.masterssummit.com/"&gt;www.masterssummit.com&lt;/A&gt; - take your QlikView skills to the next level!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760148#M1023202</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-03-20T14:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Profit%</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760149#M1023203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760149#M1023203</guid>
      <dc:creator />
      <dc:date>2015-03-20T18:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Profit%</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760150#M1023204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to make an expression for the first definition in your answer above ( (Sales-Cost)/Sales), and it looked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Sales)-sum(productCost*Quantity)/sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously that one wouldn't work, not mathematically either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naturally I'd like to have the expression like this, but this won't give me any data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(Sales)-sum(productCost*Quantity))/sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I can solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer below by &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ works but I feel that it's not exactly what I'm after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Sales)/sum([productCost*Quantity) -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 04:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760150#M1023204</guid>
      <dc:creator />
      <dc:date>2017-01-10T04:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Profit%</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760151#M1023206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kristofferb,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see no reasons for your formula not to work, except for a simple misspelling - for example, most of your formulas contain the field &lt;STRONG&gt;Sales,&lt;/STRONG&gt; while one of them spells &lt;STRONG&gt;sales&lt;/STRONG&gt; with all lower case letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like someone to troubleshoot your expressions, please post a small sample of the app and the formula that's not working for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik &lt;/A&gt;- coming soon to Munich, Germany!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 18:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Profit/m-p/760151#M1023206</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-01-10T18:52:48Z</dc:date>
    </item>
  </channel>
</rss>

