Hello, I would really appreciate some help with figuring this out.
I have a Calendar in a powerapp of staff leave. The records are saved in a Sharepoint List and the columns Start Date and End Date are Date&Time Columns.
It works perfectly fine filtering the records that are between a start date and an end date into the correct days in the calendar, as long as the time is not changed (currently set to default time: 12:00 AM). I need it to work to include the records that are between the start day & time and the end day & time as well.
For example this works ok: Start Date: 01/01/2024 12:00 AM End Date: 01/01/2024 12:00 AM but this record does not show up
01/01/2024 09:00 AM End Date: 01/01/2024 05:00 PM and neither does this one 01/01/2024 09:00 AM End Date: 01/01/2024 11:00 AM.
This is the gallery filter:
Filter(ColLeaveEvents, 'Start Date' <= DateTimeValue(Date_Real.Text) && 'End Date'>= DateTimeValue(Date_Real.Text) ).
See the attachments for more info