Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi
i want to count the number of hours from start of shift till end of shift live.
for example:
# | Scheduled start | Scheduled End |
1 | 05:30 | 14:00 |
2 | 06:00 | 14:30 |
3 | 06:30 | 15:00 |
4 | 07:00 | 16:00 |
If the time was 10:00am then the count needs to be:
1: 4.5
2: 4
3: 3.5
4: 3
i tried using the below formula however i cant add my scheduled start column. any sugguesions
Solved! Go to Solution.
HI @AI14
Please try
Hrs from Shift =
DATEDIFF (
TIMEVALUE ( 'Table'[Scheduled star] ),
MIN ( TIMEVALUE ( 'Table'[Scheduled end] ), TIMEVALUE ( NOW () ) ),
MINUTE
) / 60
HI @AI14
Please try
Hrs from Shift =
DATEDIFF (
TIMEVALUE ( 'Table'[Scheduled star] ),
MIN ( TIMEVALUE ( 'Table'[Scheduled end] ), TIMEVALUE ( NOW () ) ),
MINUTE
) / 60
User | Count |
---|---|
24 | |
10 | |
9 | |
7 | |
4 |