Comments (4)
Filter(Desks,Not(Title in Filter(
'Desk Reservations',
startTime>=Min(CheckOutFrom,CheckOutTo) && startTime<=Max(CheckOutFrom,CheckOutTo) ||
endTime>=Min(CheckOutFrom,CheckOutTo) && endTime<=Max(CheckOutFrom,CheckOutTo)
).DeskText))
from powerapps.
Filter(Desks,Not(Title in Filter(
'Desk Reservations',
startTime>=Min(CheckOutFrom,CheckOutTo) && startTime<=Max(CheckOutFrom,CheckOutTo) ||
endTime>=Min(CheckOutFrom,CheckOutTo) && endTime<=Max(CheckOutFrom,CheckOutTo)
).DeskText))
Thanks for this but I've noticed that it's not accurate either.
For example when you book 9am to 10am on desk 1 and then you try book for 10am to 11am on desk 1, it will not be available.
from powerapps.
Hi @aprildunnam ;
For this function :
Filter(Desk_DSI;Not(Title in Filter(
Desk_Reservations_DSI;
startTime >= Min(CheckOutFrom;CheckOutTo) && startTime <= Max(CheckOutFrom;CheckOutTo) || endTime >= Min(CheckOutFrom;CheckOutTo) && endTime <= Max(CheckOutFrom;CheckOutTo) ||
startTime <= Min(CheckOutFrom;CheckOutTo) && startTime <= Max(CheckOutFrom;CheckOutTo) || endTime <= Min(CheckOutFrom;CheckOutTo) && endTime >= Max(CheckOutFrom;CheckOutTo)
).DeskText))
Desk 1 booked 9am to 11am
If I Try :
- 9am to 10am : OK Desk 1 isn't available.
- 9am to 12pm : OK Desk 1 isn't available.
- 9am to 1pm : OK Desk 1 isn't available.
- 8am to 9am : OK Desk 1 isn't available.
- 8am to 10am : OK Desk 1 isn't available.
- 8am to 11am : OK Desk 1 isn't available.
- 8am to 12pm : OK Desk 1 isn't available.
- 11am to 12pm : KO Desk 1 isn't available.
- 12pm to 1pm : OK Desk 1 is available.
Can you help me with this case (8) please?
Guillaume
from powerapps.
Solution :
Filter(
Desk_DSI;
Not(
Title in Filter(
Desk_Reservations_DSI;
CheckOutFrom >= startTime && CheckOutTo <= endTime || CheckOutFrom <= endTime && CheckOutTo >= endTime
).DeskText
))
from powerapps.
Related Issues (20)
- Time Away, Dashboard problem HOT 1
- After change datasource, the date choice cannot continue HOT 1
- DeskBooking 2023 - Date Sync issue HOT 3
- Desk Reservation Power App - How to make the Calendar component instance clickable
- Data not patching to Desks Reservations List, cannot see any bookings HOT 3
- SHow all bookings in the booking Section
- Time Off App - Denied Time off still subtracts from total HOT 1
- Unable to create a booking
- Desk Reservation App
- Power Apps Weekly Timesheet Template issue HOT 1
- Desk Select Screen HOT 6
- Double booking - in combination with several day booking HOT 1
- Double date entry
- Confirm Cancellation and retain Desk Reservations List
- End Date is not able to select and AM/PM option is not visible in time
- DeskBooking App | Manage Button HOT 1
- No On Behalf Of feature
- Half Booking Issue: if I book a desk for first half of a day, that desk is entirely unavailable for the remaining part of the day HOT 1
- Edit a booking
- Available Days is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerapps.