Salesforce Certified Platform App Builder — Question 58
Universal Container's app builder needs to display an account's rating on all contacts related to that account.
Which formula is valid in a text formula field on the contact to display the appropriate value? (Choose two.)
Answer options
- A. CASE(Account.Rating, Hot, Hot, Warm, Warm, Cold, Cold, Not Rated)
- B. CASE(Account.Rating, "Hot", "Hot", "Warm", "Warm", "Cold", "Cold", "Not Rated")
- C. Account.Rating
- D. Text(Account.Rating)
Correct answer: B, D
Explanation
Option B is correct because it uses the CASE function properly with string values enclosed in quotes, which is necessary for accurate evaluation. Option D is also valid as it converts the Account.Rating directly to text format. Options A and C are incorrect; A lacks quotes for string values, and C simply references the Account.Rating without any formatting or conversion.