数式は正しいにも関わらずエラーが出る場合
Incorrect parameter type for operator '<'. Expected Date, received Number.
設定している場所では使えない関数の可能性がある
Example 4 (fails):
CASE ( TEXT ( Episode__r.Site__c ) , $Label.Label_PR_WB , "A" , "B")
住所フィールドが機能しない。
州が長い名前でなく、CAとかの略称だったから?
Error when encoding row-level formula: Incorrect parameter type for function 'MONTH()'. Expected Date, received Date/Time
Date and Date/Time aren’t interchangeable data types, so when you want to perform operations between Date and Date/Time values, you need to convert the values so they are both the same type. Some functions (such as YEAR(), MONTH(), and DAY()) also only work on Date values, so Date/Time values must be converted first.
Use the DATEVALUE( date/time ) function to return the Date value of a Date/Time. For example, to get the year from a Date/Time, use YEAR( DATEVALUE( date/time) ) ).
https://help.salesforce.com/s/articleView?id=platform.formula_using_date_datetime.htm&type=5