Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RAKESH1986
Helper II
Helper II

Attendance record-In and Out issue

 

Hi All,

pls help me to solve this issue. 

I have the below-listed attendance records of the user. And I need to calculate the hours spent in the office. For this, I took the lowest time as in time and the highest time as out time, by this way it worked fine but a few records created problems for said calculation.

Few employees worked from 8 am to the next day 1/ 2 am in the morning.  and by this way, my logic failed because it took 1 am as the in time of the employee.

 

 

RAKESH1986_0-1678707180746.png

 

Is it possible to ignore the time which is between 12 am to 5 am? and assign the last out time as 11.59 pm for the previous day.

any other better way to handle it?

pls help .

thanks

 

 

1 ACCEPTED SOLUTION
RAKESH1986
Helper II
Helper II

apply a filter or add a conditional column to replace values.

View solution in original post

1 REPLY 1
RAKESH1986
Helper II
Helper II

apply a filter or add a conditional column to replace values.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.