Hello there,
I am building a powerapp for bookings and I save data in a SP list. Among others, SP list has columns: Date and Timeslot.
Inside my powerapp, I have one datepicker field and 1 drop down field with custom value items like this:
["09:00 - 10:00", 10:30 - 10:45",....""]
When someone is booking, the value of datepicker field and dropdown are saved in the SP list to the related columns.
What I am trying to accomplish is when someone selects a date from the datePicker (onChange event) for the Timeslot dropdown to be updated like this:
A Query/filter would get the selected date, search the SP list where Date='date from datepicker' and for each one of those records to be removed from the timeslot dropdown in my powerapp. This way, I am intending not to have double bookings for the specific date/timeslot.
Any ideas of how to do this?
Thank you in advance