Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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