
2 answers
I believe you want to use the following formula
This will show the resource (assuming that is the correct path to the resource) if the IconFlag__c field is equal to 1 or 2 and will show nothing if it is not. You can change that by updating the path in line 5 from an empty string.If this is not what you are trying to do, please let me know.IMAGE(
CASE(IconFlag__c,
1, "/resource/STR_TRIANGLE",
2, "/resource/STR_TRIANGLE",
""
),
"Icon Flag",
20,
20
)