Hi all
Hitting my head against a brick wall with this and I don't understand why.... it seems like it should be really simple...
I'm trying to set a variable for a Payroll Month name (which will come out like "December 2023" for example) by looking up today's date vs start and end dates in a sharepoint list. The code to set the variable is:
Set(TSCurrMonth,LookUp(HRPayrollMonths,StartDate<=Today() && EndDate>=Today()).Title)
The payroll months don't line up with the calendar months which is why I can't just use normal date functions. There is an item in the "HRPayrollMonths" list that would qualify for today:

However there are no red error bars and the variable comes out as empty. What am I missing?