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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors