LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  how to calculate sum of salaries in deptartment wise

    Employee
    Posted 03-20-2014 21:51

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: sree

    Hi Team,

    How to calculate sum of salaries in deptartment wise in aggregator node or how to calculate no of employees in department wise.

    Thanks in advance,
    Sree.


  • 2.  RE: how to calculate sum of salaries in deptartment wise

    Employee
    Posted 03-24-2014 00:17

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: sree

    Hi ,
    I got answer for "how to calculate no of employees in department wise",used below code to get no of employes department wise
    totalnoofemployes = count()
    emit
    recno,EmpDeptNo,
    totalnoofemployes
    where
    lastInGroup.
    But still i didnot got solution for " How to calculate sum of salaries in deptartment wise in aggregator node".
    Please some one help how to get this .


  • 3.  RE: how to calculate sum of salaries in deptartment wise

    Employee
    Posted 03-24-2014 06:23

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    totalnoofemployes = count()
    totalsalary=groupSum(salary)
    emit
    recno,EmpDeptNo,
    totalnoofemployes,
    totalsalary
    where
    lastInGroup