web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Allocate minutes in ti...
Power Apps
Unanswered

Allocate minutes in timeframes

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have the following logical challenge..

 

I let users patch starttime and endtime for each working day (both are comboboxes) into table X:

 

Date Employee TotalHours starttime endtime 00-06 6-19 19-22 22-00

 

for business reasons I need to allocate the hours between starttime and endtime in timeframes:

 

00h-6h

6h-19h

19h-22h

22h-00h

 

e.g

 

starttime 01-01-2020 05:00

endtime 01-01-2020 18:00

hours worked 13


00-06h 1

6h-19h 12

19h-22h 0

22h-00h 0

 

I’d prefer to solve this in the patch statement to cds and/or by using cds calculated fields on a per item/record basis 


Any ideas ?

 

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard