I am building a Desk and Meeting Room Booking App in Power Apps using SharePoint as the backend.
On the Home screen, I have a gallery displaying rooms from a SharePoint list (Rooms List). When a user clicks on a gallery item, it navigates to a calendar screen, where the user can:
The app should check desk availability by comparing the selected date and time with existing bookings in the Desk Booking List.
If there is a conflict (i.e., overlapping time and the required number of desks exceeds availability), a notification should display:
1)"Only X desk(s) available during this time. Please choose a different time or reduce the number of members."
My current formula does not consistently detect overlapping bookings, especially when different time ranges are selected and also some times same time ranges i am giving it is also not working.
I'm using the Sum() function to calculate the total number of desks booked (No of Members), but it doesn't seem to work correctly in all cases.

Report
All responses (
Answers (