Hello! I have a problem with delegation warning for "in" operator for the below formula. I have the formula on DisplayMode property of a submit button.
If(
/* Your existing formula */
IsBlank(
First(Filter(
SortByColumns( Calendar, "StartDate"),
UserID = varEmployee.ID, Or( StartDate in workDayList.workDay, EndDate in workDayList.workDay)
)) )
,
DisplayMode.Edit, // Set to Edit if the formula is true
DisplayMode.Disabled // Set to Disabled if the formula is false
)
How can I write the formula to have the same result. More precisely, that the StartDate and EndDate are within workDayList.workDay.
Thank you in advance!