I've got a power app feeding off two SharePoint lists, it is used to book desks in the office. The filter on the gallery works by looking to see that the date and time does not already exist in the SharePoint list. This part is working fine.
I've added a combo box to use as a location field. E.g. Office 1, Office 2 and I'm trying to add this into the exiting filter code so that the gallery only shows the available desks within the selected office populated in the combo box.
The field with the office location is located in Desks list with bookings going into Desk Reservations list
I've got the following code and tried to add another Filter condition, & condition, search but I've just had no luck.
Any assistance on what conditions to use / how to place them in the below code would be much appreciated.
Filter(Desks,Not(Title in Filter(
'Desk Reservations',
CheckOutFrom >= startTime && CheckOutTo <= endTime || CheckOutFrom <= endTime && CheckOutTo >= endTime
).DeskText))

Report
All responses (
Answers (