Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Precending load

here's my problem, i have two excel files, every file has a lot of fields for example,

first file,

file 1;

load

A

B

C

D

E

FROM file1;


second file

X

H

J

G

M

N

FROM FILE 2

what i want to do is:

take the field B and the field M and make the sum.

that's all.

thank's for help

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi,

Try like this in a text box

=sum(B)+sum(M)

Regards

ASHFAQ

View solution in original post

13 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Try like this in a text box

=sum(B)+sum(M)

Regards

ASHFAQ

JonnyPoole
Former Employee
Former Employee

Is the data related ?  For example, are all the fields the same  (ie:  A=x , B=H, C=J etc...) ?

anbu1984
Master III
Master III

What is the join key for two files?

Not applicable
Author

no, the fields are not the same , and when i do sum(B)+sum(M) i've got an error.

Not applicable
Author

there's no join key.

ashfaq_haseeb
Champion III
Champion III

Hi,

Did you try my solution?

If possible share sample data.

Regards

ASHFAQ

Not applicable
Author

yes i did but i've got an error

Not applicable
Author

where i should write sum(B)+sum(A)??

ashfaq_haseeb
Champion III
Champion III

Create new text object and write below code.

=sum(B)+sum(M)


Modify your fields accordingly.




Regards

ASHFAQ