Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I am creating a time & motion study and want to compare the actual time 'turning spanners' compared to other unproductive tasks.
I have created a time log database of all tasks in the working day (similar to below).
| Task | Start Time | End Time | Time Delta (minutes) |
| Housekeeping | 7:30 | 8:00 | 30 |
| Time on Tools | 8:00 | 9:50 | 110 |
| Travel | 9:50 | 10:00 | 10 |
I want to show lost times based on the below logic
Start work (7:30am) - Break (10:00am) maximum time on tools = 150min
I need a card visual showing the total amount of time on tools in the above period and a table summary of the lost time
Example:
Card = 110minutes
Table = House keeping and Travel summary
Many thanks,
Solved! Go to Solution.
Hi @Anonymous ,
According to the information you describe, you can add a judgment condition to the original formula. I did a test, the reference is as follows:
Col_ =
IF (
HOUR ( 'Table'[End Time] ) = 10
&& MINUTE ( 'Table'[End Time] ) <= 0,
TRUE (),
IF ( HOUR ( 'Table'[End Time] ) < 10, TRUE (), FALSE () )
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to the information you describe, you can add a judgment condition to the original formula. I did a test, the reference is as follows:
Col_ =
IF (
HOUR ( 'Table'[End Time] ) = 10
&& MINUTE ( 'Table'[End Time] ) <= 0,
TRUE (),
IF ( HOUR ( 'Table'[End Time] ) < 10, TRUE (), FALSE () )
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Sounds good. What have you tried and where are you stuck?
Hi,
Thanks for your response. I have tried creating a custom column to generate a true of false column using the below DAX
Two options. Either remove the equal sign
7AM-10am = HOUR(dilo_master[end_time]) >= 7 && HOUR(dilo_master[end_time]) < 10.00
or consider the minutes as well
7AM-10am = HOUR(dilo_master[end_time]) >= 7 && HOUR(dilo_master[end_time])*60+MINUTE(dilo_master[end_time]) <= 600.00
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 28 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 43 | |
| 35 | |
| 32 |