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

Notifications

Announcements

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. 

Categories:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard