hello,
I have a DELEGATION WARNING here, how can I solve?
Filter(
Desks,
Not(
Title in Filter(
'Desk Reservations',
'Check Out From' >= startTime && 'Check Out To' <= endTime || 'Check Out From' <= endTime && 'Check Out To' >= endTime
).DeskText
) && Active = 1
)
Solved! Go to Solution.
Hi @ashj100 ,
You can do this, but are limited to the newest (delegation limit - 500 to 2,000) of Reservations and Active Desks
With(
{
wDesks:
Filter(
Sort(
Desks,
ID,
Descending
),
Active = 1
),
wReserve:
Sort(
'Desk Reservations',
ID,
Descending
)
},
Filter(
wDesks,
!(
Title in
Filter(
wReserve,
(
'Check Out From' >= startTime &&
'Check Out From' <= endTime
) ||
(
'Check Out To' >= start &&
'Check Out To' <= endTime
)
).DeskText
)
)
)
as neither in nor Not are Delegable
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @ashj100 ,
You can do this, but are limited to the newest (delegation limit - 500 to 2,000) of Reservations and Active Desks
With(
{
wDesks:
Filter(
Sort(
Desks,
ID,
Descending
),
Active = 1
),
wReserve:
Sort(
'Desk Reservations',
ID,
Descending
)
},
Filter(
wDesks,
!(
Title in
Filter(
wReserve,
(
'Check Out From' >= startTime &&
'Check Out From' <= endTime
) ||
(
'Check Out To' >= start &&
'Check Out To' <= endTime
)
).DeskText
)
)
)
as neither in nor Not are Delegable
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
worked!
thank you
User | Count |
---|---|
260 | |
110 | |
98 | |
56 | |
40 |