<?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: Script Joining Sum Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343699#M413691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload some example data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 10:41:14 GMT</pubDate>
    <dc:creator>micheledenardi</dc:creator>
    <dc:date>2017-06-09T10:41:14Z</dc:date>
    <item>
      <title>Script Joining Sum Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343698#M413690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following script running and I get a strange error which I cannot eliminate.&amp;nbsp; The total in the raw data is 10,842 by running with the Report Date the total is 10,842.&amp;nbsp; If it run the total by month not including Report Date I get 10,842.&amp;nbsp; Yet this join means the daily total is 10,842 but the Monthly Total comes out as &lt;STRONG&gt;10,843 &lt;/STRONG&gt;can anyone see what is wrong in this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;DAILY:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthYear&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Report Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Product&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Channel&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,MonthAge&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,SUM(Quotes) AS Quotes&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,SUM(Sales) AS Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,SUM(Day0Sales) AS Day0Sales&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;&amp;nbsp; QUOTESANDSALES&lt;/P&gt;&lt;P&gt;GROUP BY &lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthYear&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Report Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Product&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Channel&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,MonthAge&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Calculate the total quotes and sales volumes by month&lt;/P&gt;&lt;P&gt;LEFT JOIN (DAILY)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthYear&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Product&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Channel&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,MonthAge&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,SUM(Quotes) AS MonthlyQuotes&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,SUM(Sales) AS MonthlySales&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,SUM(Day0Sales) AS MonthlyDay0Sales&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;&amp;nbsp; QUOTESANDSALES&lt;/P&gt;&lt;P&gt;GROUP BY&lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthYear&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Product&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Channel&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,MonthAge&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE QUOTESANDSALES;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 10:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343698#M413690</guid>
      <dc:creator>farnsworth</dc:creator>
      <dc:date>2017-06-09T10:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Script Joining Sum Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343699#M413691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload some example data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 10:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343699#M413691</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2017-06-09T10:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script Joining Sum Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343700#M413692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;if you do not join the tables&lt;/P&gt;&lt;P&gt;is the Monthly total ok&lt;/P&gt;&lt;P&gt;drop the left join from the script &lt;/P&gt;&lt;P&gt;and if it's ok , then you have duplication in the left join &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 10:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343700#M413692</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2017-06-09T10:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Script Joining Sum Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343701#M413693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the join didn't work.&amp;nbsp; Basically what I want to get to is as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 358px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Report Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Daily&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Total&lt;/TD&gt;&lt;TD class="xl68" width="64"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;01/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;642&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;5.9%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;02/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;687&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6.3%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;03/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;651&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;04/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;590&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.4%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;05/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;606&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.6%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;06/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;564&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.2%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;07/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;512&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;08/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;670&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6.2%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;09/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;587&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.4%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;10/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;554&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.1%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;11/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;541&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;12/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;629&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;13/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;593&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;14/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;472&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4.4%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;15/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;734&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;16/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;656&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;17/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;608&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.6%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;18/05/2017&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;546&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10843&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.0%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only problem is the total is 10,842&amp;nbsp; So the calculation I want is Daily / Sum(Daily)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 14:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Joining-Sum-Error/m-p/1343701#M413693</guid>
      <dc:creator>farnsworth</dc:creator>
      <dc:date>2017-06-09T14:01:14Z</dc:date>
    </item>
  </channel>
</rss>

