<?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: Precending load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664961#M242058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, the fields are not the same , and when i do sum(B)+sum(M) i've got an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 08:16:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-21T08:16:03Z</dc:date>
    <item>
      <title>Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664957#M242054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here's my problem, i have two excel files, every file has a lot of fields for example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first file,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;file 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;C&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;D&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;E&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM file1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;second file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;X&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;P&gt;N&lt;/P&gt;&lt;P&gt;FROM FILE 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want to do is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take the field B and the field M and make the sum.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;that's all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;thank's for help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664957#M242054</guid>
      <dc:creator />
      <dc:date>2014-10-20T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664958#M242055</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;Try like this in a text box&lt;/P&gt;&lt;P&gt;=sum(B)+sum(M)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 16:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664958#M242055</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-20T16:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664959#M242056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the data related ?&amp;nbsp; For example, are all the fields the same&amp;nbsp; (ie:&amp;nbsp; A=x , B=H, C=J etc...) ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 16:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664959#M242056</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-20T16:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664960#M242057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the join key for two files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 16:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664960#M242057</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-20T16:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664961#M242058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, the fields are not the same , and when i do sum(B)+sum(M) i've got an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664961#M242058</guid>
      <dc:creator />
      <dc:date>2014-10-21T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664962#M242059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there's no join key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664962#M242059</guid>
      <dc:creator />
      <dc:date>2014-10-21T08:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664963#M242060</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;Did you try my solution?&lt;/P&gt;&lt;P&gt;If possible share sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664963#M242060</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-21T08:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664964#M242061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i did but i've got an error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664964#M242061</guid>
      <dc:creator />
      <dc:date>2014-10-21T08:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664965#M242062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where i should write sum(B)+sum(A)??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664965#M242062</guid>
      <dc:creator />
      <dc:date>2014-10-21T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664966#M242063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create new text object and write below code.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum(B)+sum(M)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Modify your fields accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664966#M242063</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-21T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664967#M242064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, what i want to do is to create a new column in the script &lt;/P&gt;&lt;P&gt;for exemple:&lt;/P&gt;&lt;P&gt;sum(B)+sum(M) as la_somme&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what you should to know is, B and M are in different files, this is the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664967#M242064</guid>
      <dc:creator />
      <dc:date>2014-10-21T08:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664968#M242065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you want to do exactly? Sum all values in B together with all values in M, but in the script? First, it's way easier in the frontend, as &lt;A href="https://community.qlik.com/qlik-users/23043"&gt;Ashfaq Mohammed&lt;/A&gt; pointed out. Second, if you really need to do it in the script, then one way is this:&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(B) as SumB&lt;/P&gt;&lt;P&gt;Resident NameOfTableWith_B_Column;&lt;/P&gt;&lt;P&gt;Temp2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(M) as SumM&lt;/P&gt;&lt;P&gt;Resident NameOfTableWith_M_Column;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vSumOfBandM = Peek('SumB')+Peek('SumM');&lt;/P&gt;&lt;P&gt;DROP TABLES Temp1, Temp2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have the sum in variable vSumOfBandM and can do with it whatever you need to do.&lt;/P&gt;&lt;P&gt;Again, if you don't absolutely need this sum in the script for some calculations or something, then don't do it in the script. Calculate it directly in the frontend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664968#M242065</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-10-21T08:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664969#M242066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664969#M242066</guid>
      <dc:creator />
      <dc:date>2014-10-21T08:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Precending load</title>
      <link>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664970#M242067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark it as a correct answer then &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; (not to be asking for accolades, but it marks the question as answered which helps for other people viewing the forum)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 09:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Precending-load/m-p/664970#M242067</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-10-21T09:02:26Z</dc:date>
    </item>
  </channel>
</rss>

