Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to find that if the value ot1 > ot2 let count Employeeid in each department.
Hi
Dim: Department
Exp: Sum(Aggr(If(OT1 exp > OT2 exp, 1), EmployeeId, Department))
Hi
And if I want a condition that ot1 < ot2 count Employeeid in each department. what do I need to do?
where the number of employees that is total column 2 combined with column 4 must be equal to the number of column 1
Hi
Can you send the sample data with expected output
I would use
Count({<EmployeeId={"=OT1>OT2"}>} distinct EmployeeId)
This assumes that each employee only has one value of OT1 and one value of OT2. If there are several, you need to use e.g.
Count({<EmployeeId={"=Sum(OT1)>Sum(OT2)"}>} distinct EmployeeId)