Question 1
A financial services firm needs to create a risk exposure dashboard. A key requirement is to color-code a scatter plot of investments based on a calculated Risk Score, where scores below 20 are green, 20-50 are yellow, and above 50 are red. The Risk Score is already calculated as a measure. Which expression, used in the object's color properties, is the most efficient way to implement this requirement?
Answer and explanation
Correct answer: D
The most efficient and correct method is to use a nested If statement with the RGB() color functions. Using color names like 'Green' is not a valid function output for color expressions. Pick(Match()) is overly complex for a numerical range comparison. ColorMix1 is used for creating a gradient between two colors based on a value's position within a range (0 to 1), not for defining discrete color breaks as required by the scenario.