Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
praveenkumar_s
Creator II
Creator II

Adding while Loading

Hi,

     How can i acheive this ,during loading

Load EmployeeID, sum(Actualhrs)+sum(Billedhrs)as Totalhrs  resident PPMS_PROJECTRESOURCES;

4 Replies
sunny_talwar

Do you want this?

Load EmployeeID,

         RangeSum(Actualhrs, Billedhrs) as Totalhrs

Resident PPMS_PROJECTRESOURCES;

Or this:

Load EmployeeID,

        Sum(Actualhrs) + Sum(Billedhrs) as Totalhrs

Resident PPMS_PROJECTRESOURCES

Group By EmployeeID;

surendraj
Specialist
Specialist

Hi,

you can try it with preceeding load,

load EmployeeID,sum(Actualhrs)+sum(Billedhrs) as Totalhrs Group By EmployeeID;

LOAD * INLINE [

   

    EmployeeID, Actualhrs, Billedhrs

    1, 5, 6

    2, 7, 9

];

Capture.PNG

--surendra

praveenkumar_s
Creator II
Creator II
Author

Exactly....what i want ... thank u very much..

surendraj
Specialist
Specialist

Hi Praveen Kumar,

please close the thread if you got the relevant one.

--surendra