function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Carlos IbarraCarlos Ibarra 

Warning Incorrect parameter type for operator '>='. Expected Object, received Number

Hello All,  I keep getting an error of Warning Incorrect parameter type for operator '>='. Expected Object, received Number .  My formula is

 IF(Account.Debt_total_c>=25600,"1","4")
Raj VakatiRaj Vakati
Try this 
 
IF( Debt_total__c>=25600,1,4)
Or

 IF(Account.Debt_total__c>=25600,1,4)
 
Carlos IbarraCarlos Ibarra
Still not working.  When I use just the equal sign then it works fine but I need greater than sign
Raj VakatiRaj Vakati
Can you explan where you are using this one ?/ can u share the screenshoot 
Carlos IbarraCarlos Ibarra
User-added image
Raj VakatiRaj Vakati
Is its reports ?
Carlos IbarraCarlos Ibarra
yes reports
Raj VakatiRaj Vakati
Try this
 
IF(Account.Debt_total__c:SUM >=25000 ,1,4)

 
CloudalyzeCloudalyze
Hi Carlos,

please select the formula field return data type number 

IF(Account.Debt_total_c>=25600, 1 , 4 )
Also, what is the data type of the "Debt_total_c" field.
Carlos IbarraCarlos Ibarra
I got the answer. Created an object type with the formula. Thanks for your help.