Browse by categories
-
All
-
Collaboration
-
Configuration & Data Management
-
CPQ and Billing
-
Customer Service & Support
-
Desktop Integration
-
Einstein Analytics
-
Email
-
Email Marketing
-
Journey Management
-
Mobile
-
Mobile Messaging
-
Packaging, Uploading & Installing Apps
-
Reports & Dashboards
-
Sales & Marketing
-
Security
-
Social Marketing
-
Trailhead Challenges
-
Additional Products
I am drafting a formula and received "Formula Help - Error: Incorrect parameter type for function 'IF()'. Expected Boolean, received Number"?
The min formula I have is choosing the 0 but if it one of the #s is zero I want to revert to the other number.
All Answers
Generally IF conditions syntax is : IF ( Condition , value if true, value if false).
So here in the place of condition you should give something which evaluates and gives you either true or false based on which the values will be taken. In your formula you wrote MIN( Days_since_last_contacted__c , Days_since_last_contacted_Pardot__c )
It gives whichever field is minimum, let's last_contacted_pardot is less then it will give last_contacted_pardot's value which will be a number. But here it should have been a condition. That's what I replaced it with.