<?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: calculate margin error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448744#M167460</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;What is the dimension of your straight table ?&lt;/P&gt;&lt;P&gt;How many different values of&amp;nbsp; [order tabl.qtyship] and [order table.Unit Price] do correspond to one dimension value ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2012 19:05:16 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2012-10-24T19:05:16Z</dc:date>
    <item>
      <title>calculate margin error</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448742#M167458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to calculate margin within straight table expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My formula works until this point.&lt;/P&gt;&lt;P&gt;Sum (([order tabl.qtyship] * [order table.Unit Price]) - ([order table.qtyship] * [order table.Unit Cost])) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however when i start dividing the whole thing with gross sales, in order to get margin. it stops working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum (([order tabl.qtyship] * [order table.Unit Price]) - ([order table.qtyship] * [order table.Unit Cost]))&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum ([order tabl.qtyship] * [order table.Unit Price]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried putting brackets on entire expression without any results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what am i doing wrong. Please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 14:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448742#M167458</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2012-10-24T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: calculate margin error</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448743#M167459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't see anything wrong with the expression so this might simply be a number formatting issue, go to the presentation tab and for that expression make sure that "Expression Default" is un-checked, then set your formatting for a number and make sure that "Display as percentage" is switched on at the bottom.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 15:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448743#M167459</guid>
      <dc:creator />
      <dc:date>2012-10-24T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: calculate margin error</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448744#M167460</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;What is the dimension of your straight table ?&lt;/P&gt;&lt;P&gt;How many different values of&amp;nbsp; [order tabl.qtyship] and [order table.Unit Price] do correspond to one dimension value ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 19:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448744#M167460</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-10-24T19:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: calculate margin error</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448745#M167461</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;below expr may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( (([order tabl.qtyship] * [order table.Unit Price]) - ([order table.qtyship] * [order table.Unit Cost])) / ([order tabl.qtyship] * [order table.Unit Price]) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 05:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-margin-error/m-p/448745#M167461</guid>
      <dc:creator />
      <dc:date>2012-10-25T05:40:25Z</dc:date>
    </item>
  </channel>
</rss>

