I need to calculate in a custom field if a Date is more than 2 years ago ... if so then return a YES or if it is not then return a NO
I'm trying this formula, making the return type "text" Last_won_deal_date__c > DATEVALUE("2 years ago")
but it's giving the following error:
Error: Formula result is data type (Boolean), incompatible with expected data type (Text).