<?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: Cancell Doubling using sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130893#M916956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand the number you are looking to get? May be if you can share a sample with expected output, one of us can help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2380"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2016 16:13:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-12T16:13:26Z</dc:date>
    <item>
      <title>Cancell Doubling using sum</title>
      <link>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130892#M916954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hey everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="q.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124411_q.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;When I try to do sum(average*cost) it's doubling by the number of the number of the warehouses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to d&lt;SPAN class="alt-edited"&gt;ivide by the number of the warehouses [sum(average*cost)/count(warehouses)] but then I have a problem in the total.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="alt-edited"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="alt-edited"&gt;&lt;IMG alt="q2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/124412_q2.JPG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="alt-edited"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="alt-edited"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;Cant figure out how to solve this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;Maayan &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="alt-edited"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130892#M916954</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cancell Doubling using sum</title>
      <link>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130893#M916956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand the number you are looking to get? May be if you can share a sample with expected output, one of us can help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2380"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 16:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130893#M916956</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-12T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cancell Doubling using sum</title>
      <link>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130894#M916957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looking for way to double the "avg use" with the cost and finally see the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I try to do this with sum it's double with the number of the warehouses.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="q.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124457_q.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In the image you can see that the average*cost is 69151 and it need to be 34575 (half).&lt;/P&gt;&lt;P&gt;This happens because that the serial is in 2 warehouses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is more understandable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 17:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130894#M916957</guid>
      <dc:creator />
      <dc:date>2016-05-12T17:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cancell Doubling using sum</title>
      <link>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130895#M916958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maayan,&lt;/P&gt;&lt;P&gt;ma shlomeh?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe you can try avg([use average])*avg(cost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 17:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130895#M916958</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-05-12T17:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cancell Doubling using sum</title>
      <link>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130896#M916960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Aggr( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(average*cost) / count(warehouses), Serial))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;Or maybe using a different outer aggregation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume your issue is caused by the way your data model is built, but that's hard to tell without knowing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 17:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cancell-Doubling-using-sum/m-p/1130896#M916960</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-12T17:28:20Z</dc:date>
    </item>
  </channel>
</rss>

