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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors