Type
Date
Check if date was yesterday
Option 1)
prop("Date").formatDate("L")
==
today().dateSubtract(1, "days").formatDate("L")
Option 2)
if(
prop("Date").formatDate("L") == today().dateSubtract(1 , "days").formatDate("L"),
"Yesterday",
"Not Yesterday"
)
Note: This formula does not work with date ranges (dates that have both start and end dates).