Skip to main content
Trying to get an imagine field to show account status, Forumla is

 

 

IF( Red__c > 0, IMAGE("/img/msg_icons/error32.png"),

 

IMAGE("/img/msg_icons/confirm32.png")

 

)

 

Can anyone help with why I'm gettng a syntax error:Incorrect number of parameters for function 'IMAGE()'. Expected 2, received 1?

 

Been playing with this simple formula for an hour and can't get it to work!

 

 
4 respuestas
  1. 30 ago 2016, 13:58
    Hi Megan,

     

    Please try the below

    IF(

    Red__c > 0,

    IMAGE("/img/msg_icons/error32.png", "greater than 0"),

    IMAGE("/img/msg_icons/confirm32.png", "less than 0")

    )

    the syntax of image is IMAGE(image_url, alternate_text)

     

    you are missing he alternate text in your formula

     

     
0/9000