<?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: Triying to sum amounts in the script from different fields on a mapping load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Triying-to-sum-amounts-in-the-script-from-different-fields-on-a/m-p/674824#M245023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In you mapping tables, you can sum the amounts and group by InvoiceNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALESFOB:&lt;/P&gt;&lt;P&gt;MAPPING LOAD INVOICENUMBER, sum(FOB€)&lt;/P&gt;&lt;P&gt;Resident SALES GROUP BY INVOICENUMBER;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 15:26:10 GMT</pubDate>
    <dc:creator>geert_gelade</dc:creator>
    <dc:date>2014-09-23T15:26:10Z</dc:date>
    <item>
      <title>Triying to sum amounts in the script from different fields on a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Triying-to-sum-amounts-in-the-script-from-different-fields-on-a/m-p/674823#M245022</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'm desperate with this one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a mapping load to get two kind of amounts (sales price and sales cost):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV1.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/67458_QV1.bmp" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I'm bringing the two fields into other table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV2.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/67463_QV2.bmp" /&gt;&lt;/P&gt;&lt;P&gt;The only fields in common between this files are "letter" and "invoice" (the ones that I'm using for the mapping).&lt;/P&gt;&lt;P&gt;Mi problem is: in the first file (SALES) there is a sub-invoice field; example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Letter&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Invoice&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;Subinvoice&lt;/P&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;FOB€&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;COST€&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;A&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1405&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.200€&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.050€&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1405&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;456€&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;432€&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1405&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;926€&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;817€&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1405&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;04&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;621€&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;635€&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1405&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;325€&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;323€&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1405&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;06&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;211€&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;225€&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1405&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.012€&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;903€&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mapping only gives me the first of this amounts, How can I get the total sum of them?? I need to do this in the script!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I'm using an ODBC database, I'm not using excel or access files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 15:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triying-to-sum-amounts-in-the-script-from-different-fields-on-a/m-p/674823#M245022</guid>
      <dc:creator />
      <dc:date>2014-09-23T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Triying to sum amounts in the script from different fields on a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Triying-to-sum-amounts-in-the-script-from-different-fields-on-a/m-p/674824#M245023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In you mapping tables, you can sum the amounts and group by InvoiceNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALESFOB:&lt;/P&gt;&lt;P&gt;MAPPING LOAD INVOICENUMBER, sum(FOB€)&lt;/P&gt;&lt;P&gt;Resident SALES GROUP BY INVOICENUMBER;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 15:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triying-to-sum-amounts-in-the-script-from-different-fields-on-a/m-p/674824#M245023</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-09-23T15:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Triying to sum amounts in the script from different fields on a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Triying-to-sum-amounts-in-the-script-from-different-fields-on-a/m-p/674825#M245024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great &lt;A href="https://community.qlik.com/qlik-users/65617"&gt;Geert Gelade&lt;/A&gt;!! It works!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 15:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triying-to-sum-amounts-in-the-script-from-different-fields-on-a/m-p/674825#M245024</guid>
      <dc:creator />
      <dc:date>2014-09-23T15:57:02Z</dc:date>
    </item>
  </channel>
</rss>

