<?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: Accurate totals when repeated rows exists in the data set in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Accurate-totals-when-repeated-rows-exists-in-the-data-set/m-p/94466#M6296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Row wise values are 8 and 12 which are correct. &lt;/P&gt;&lt;P&gt;Here my issue is, at any point of time opp1 should have 2 * 4 = 8 even if it is mapped with multiple regions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2018 13:40:13 GMT</pubDate>
    <dc:creator>d_prashanthredd</dc:creator>
    <dc:date>2018-08-01T13:40:13Z</dc:date>
    <item>
      <title>Accurate totals when repeated rows exists in the data set</title>
      <link>https://community.qlik.com/t5/App-Development/Accurate-totals-when-repeated-rows-exists-in-the-data-set/m-p/94464#M6294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing an issue to get correct totals. Below is my sample data..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209568_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;In above sample data, you can see opp1 repeated with the same product code but associated with different region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to achieve below..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/209569_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. Sockets are unique to a Product Code and it may be the same for other Products too&lt;/P&gt;&lt;P&gt;2. Total Quantity = Sum(Quantity)&lt;/P&gt;&lt;P&gt;3. Total # of Sockets = Sum(Qty * Sockets) or Sum(Qty) * Sockets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the results same as above but the total should be 12 instead 20 and the row wise values are fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to get that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accurate-totals-when-repeated-rows-exists-in-the-data-set/m-p/94464#M6294</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2018-08-01T13:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accurate totals when repeated rows exists in the data set</title>
      <link>https://community.qlik.com/t5/App-Development/Accurate-totals-when-repeated-rows-exists-in-the-data-set/m-p/94465#M6295</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;By simply leaving out the dimension Opp you will get the summary on two lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use the expression Sum(Qty * Sockets) to get the result 8 and 12. But how do you come to getting the total of 8 and 12 to 12 and not 20?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accurate-totals-when-repeated-rows-exists-in-the-data-set/m-p/94465#M6295</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-08-01T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accurate totals when repeated rows exists in the data set</title>
      <link>https://community.qlik.com/t5/App-Development/Accurate-totals-when-repeated-rows-exists-in-the-data-set/m-p/94466#M6296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Row wise values are 8 and 12 which are correct. &lt;/P&gt;&lt;P&gt;Here my issue is, at any point of time opp1 should have 2 * 4 = 8 even if it is mapped with multiple regions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accurate-totals-when-repeated-rows-exists-in-the-data-set/m-p/94466#M6296</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2018-08-01T13:40:13Z</dc:date>
    </item>
  </channel>
</rss>

