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 / Day-by-Employee/Staff ...
Power Apps
Unanswered

Day-by-Employee/Staff View in Canvas Apps

(0) ShareShare
ReportReport
Posted on by 2

I have two tables "Work Orders' and 'Employees', I want to show the Calendar view for Work Schedules by Month, Week and Day. I have successfully created the Month and Week View for the same, I want to know how we can create a Day view of work schedule for each employee with timeslots (Reference attached from Microsoft Bookings). I am unable to find any components, videos or Solutions on creating the same.  I want to know the step by step process. 

Screenshot 2023-11-27 200044.png
Categories:
  • Hassan_SZ_365 Profile Picture
    542 on at

    Hi @Maryam16 ,

    Follow these Steps:

    Create Time Slots: Determine the range of hours you want to show and create a collection with all the time slots.

     

    ClearCollect(TimeSlots, [
     {Time: "8:00 AM"}, {Time: "8:30 AM"}, // Add all time slots here
     ...
     {Time: "5:00 PM"}
    ]);

     

    Use a Gallery for Time Slots: Create a vertical gallery to display the collection TimeSlots.

    Use a Horizontal Gallery: Inside each row of the vertical gallery, add a horizontal gallery that will represent the employees.

    Filter Work Orders for Each Time Slot: For each employee, filter the 'Work Orders' table to show only the orders for the given day and time slot.

     

    Filter(WorkOrders, DateDiff(StartTime, SelectedDate, Hours) = ThisItem.Time && EmployeeID = EmployeeGallery.ThisItem.ID)

     

    Create Navigation: Provide buttons to navigate between days.

    Customize the Look: Use conditional formatting to change the appearance of each slot based on its status (e.g., free, busy).

    Bind Data: Bind the work order details to the relevant controls in the horizontal gallery to display the data.

    Add Functionality: Implement selection, editing, and addition of work orders through the gallery.

    Best Regards,

    Hassan Raza

  • Maryam16 Profile Picture
    2 on at

    Hi Hassan,

    Thank you for the Solution, I need a little more explanation on this part:

     

    Filter Work Orders for Each Time Slot: For each employee, filter the 'Work Orders' table to show only the orders for the given day and time slot.

     

    Filter(WorkOrders, DateDiff(StartTime, SelectedDate, Hours) = ThisItem.Time && EmployeeID = EmployeeGallery.ThisItem.ID)

    So that I can change my formula accordingly, and also the work order just has date and time, no start or end date. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard