Hello,
I’m running into an issue with a calculated field. I have the following formula:
IF(
{Completion Date}=BLANK(),
IF(
{Contract Date}=BLANK(),
“Add Contract Date”,
DATETIME_FORMAT({Contract Date},‘MM-YYYY’)),
DATETIME_FORMAT({Completion Date},‘MM-YYYY’))
My issue is that, rather than sorting the date chronologically, Airtable is sorting it alphabetically. This happens with both MM-YYYY and MMM-YYYY formats (the only two I can use for this application).
For instance, with MM-YYYY, my sort looks like this:
01-2018
02-2017
03-2018
04-2018
05-2017
Similarly for MMM-YYYY (April, then August, etc)
How do I fix this? Do I need to wrap my calculation somehow?