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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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 Kudoed Authors