Forum Discussion

arvindarvind24's avatar
3 years ago
Solved

Time calculation for attendance

Hi All, Need your help on Time calculation for attendance.   Date EmpCode Start Time End Time Worked Time IN Time Full / Not Full Day IN_Time But Not Full Day 03-10-2022 3698 09:11:3...
  • mangaus1111's avatar
    3 years ago

    Hi arvindarvind24 ,

     

    try these 3 measures

     

    IN Time =
    SWITCH(TRUE(),
    HOUR([Start Time])< 10,"IN Time",
    "Not in Time"
    )
     
    Full / Not Full Day =
    SWITCH(TRUE(),
           HOUR([Worked Time])<9,"Not Full",
           "Full"
    )
     
    IN_Time But Not Full Day =
    SWITCH(TRUE(),
           [IN Time] = "IN Time" && [Full / Not Full Day] = "Full",
           "YES","NO"
    )
     
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.