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
mdex
Resolver I
Resolver I

Comparing User/Date/Time over 2 tables

We have an effort tracking system for Overtime and Standby. What I would like to be able to do is highlight a users overtime claims that were made when they were on standby, either the Start or End time of OT claims that are during a Standby claim.

 

All booking are in one table but can easily split them between an OT and Standby table.

 

UserTeamTime TypeDateStart TimeEnd Time
A1Standby01/01/202208:0016:00
B2Overtime01/02/202207:3009:30
A1Overtime01/01/202206:00

09:00

A1Overtime01/01/202215:00

16:00

 

3rd and 4th line in this table are examples of what I want to know about. 

 

I started by splitting the OT and Standby into separate tables and joining using a combination of User/Team/Date but cannot think how to use this in combination with some filtering to hightlight the entries.

 

Any help appreciated.

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @mdex ,

 

It seems less clear how to get three or four rows of data records based on overtime requests made during on-call, can you give an example and provide a screenshot of the expected results?

vhenrykmstf_0-1654849635076.png

Looking forward to your reply.


Best Regards,
Henry

 

mdex
Resolver I
Resolver I

I've decided to simplify this a little to allow me to find my own solution.

 

I have nested ifs to check is User booked OT and standby on same day, then to see if start time was before 8am or after 6pm.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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