<?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 Multiplication in a sum function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338299#M492039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In our product we are able to give sales reps percentages of sales.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;So, if a sale is made for $100, sales rep x may get 50% and sales rep y may get 50% of the sale.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;It may even happen that each rep will get 100% of the sale.&amp;nbsp; Since this is for commission purposes the client isn't worried about double dipping.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I'm getting incorrect results (larger numbers than I should)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Here is my expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SUM(Revenue * Rep_Percentage)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The weird thing is that all of the Rep_Percentage numbers are 1, so I'm not sure how I could screw up that expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Can someone give me an idiot check!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 22:24:59 GMT</pubDate>
    <dc:creator>markmccoid</dc:creator>
    <dc:date>2012-08-03T22:24:59Z</dc:date>
    <item>
      <title>Multiplication in a sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338299#M492039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In our product we are able to give sales reps percentages of sales.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;So, if a sale is made for $100, sales rep x may get 50% and sales rep y may get 50% of the sale.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;It may even happen that each rep will get 100% of the sale.&amp;nbsp; Since this is for commission purposes the client isn't worried about double dipping.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I'm getting incorrect results (larger numbers than I should)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Here is my expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SUM(Revenue * Rep_Percentage)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The weird thing is that all of the Rep_Percentage numbers are 1, so I'm not sure how I could screw up that expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Can someone give me an idiot check!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 22:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338299#M492039</guid>
      <dc:creator>markmccoid</dc:creator>
      <dc:date>2012-08-03T22:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication in a sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338300#M492040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is commision fix to 50% in every salesperson?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 22:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338300#M492040</guid>
      <dc:creator />
      <dc:date>2012-08-03T22:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication in a sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338301#M492041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it's all over the place.&amp;nbsp; For example if there was a sale for $100:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Rep X&amp;nbsp; gets 75%&lt;/P&gt;&lt;P&gt;Sales Rep Y gets 25%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For another sale:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Rep X gets 100%&lt;/P&gt;&lt;P&gt;Sales Rep Y gets 100%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They do this, because the revenue is used for calculating commissions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 22:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338301#M492041</guid>
      <dc:creator>markmccoid</dc:creator>
      <dc:date>2012-08-03T22:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication in a sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338302#M492042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, you need to have tables like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Sales &lt;/STRONG&gt;[&lt;SPAN style="color: #008000;"&gt;Salesperson&lt;/SPAN&gt;, &lt;SPAN style="color: #008000;"&gt;Place&lt;/SPAN&gt;, SalesAmount]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;connect it to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Commision &lt;/STRONG&gt;&lt;/SPAN&gt;[&lt;SPAN style="color: #008000;"&gt;Salesperson&lt;/SPAN&gt;, &lt;SPAN style="color: #008000;"&gt;Place&lt;/SPAN&gt;, Commision Rate]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that it's easier to identify the commision rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just an idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 22:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiplication-in-a-sum-function/m-p/338302#M492042</guid>
      <dc:creator />
      <dc:date>2012-08-03T22:58:09Z</dc:date>
    </item>
  </channel>
</rss>

