
Announcements
I want to compare dates, I have a date that is entered in a form in my canvas application against dates that are listed in a sharepoint list named OREHolidays.
I have put the following formula in a text label to test this out
If(IsBlank(LookUp(OREHolidays,DateHoliday=DateValue(DataCardValueDateOT.SelectedDate),DateHoliday)),
"No Holiday" ,"Holiday"));
But I am getting the error below:
Anyone has any idea what I am doing wrong here? Thanks
Please consider changing your Formula to the following:
If(!LookUp(OREHolidays, DateHoliday = DataCardValueDateOT.SelectedDate, true), "No ") & "Holiday"
I hope this is helpful for you.