I am attempting to create a column with 0 or 1 column. I have got IF statement to check if today is between start date and end date.
At the moment, I want it to look at the two dates in one table and assign 1 if today is between start and end dates and 0 if not.
I tried below with no luck
Column = IF(AWBPS[START_DTTM] >= today(),1,IF(AWBPS[END_DTTM] <= today (), 0))
or
Column = DATESBETWEEN(today(), AWBPS[START_DTTM],AWBPS[END_DTTM])