Hello everyone,
I have currently the following formula in my table that shows "Yes" if the date in "Fin contrat" is in a future month. I am trying, but with no success, to adapt this formula to show "Yes" in another column if the same date is in the previous year (so currently 2022).
Can someone please help me achieve this?
Thanks! 🙂
IF(
IS_AFTER(
{Fin contrat},
DATEADD(
DATEADD(
DATETIME_PARSE(
"01 " & DATETIME_FORMAT(
TODAY(),
"MM YYYY"
),
"DD MM YYYY"
),
"1",
"months"
),
"-1",
"days"
)
),
"Yes",
"No"
)