I am trying to return the respective rating that a particular value in a column falls within. For example, if the grade is 90< and >100 assign A. However, the formula I am using is resulting in the error. "A table of multiple values was supplied where a single value was expected."
Availability Rating =
CALCULATE (
VALUES ( 'Rating Matrix'[Rating] ),
FILTER (
'Rating Matrix',
'Rating Matrix'[Avaibility (L)] <= 'Equipment_Status'[Availability]
&& 'Rating Matrix'[Availability (H)] >= 'Equipment_Status'[Availability]
&& 'Rating Matrix'[Bus Type] = 'Equipment_Status'[Helper]
)
)
This is the helper field referenced in the formula which distinguishes 2 types of assets.
Helper = RELATED('Performance Matrix'[Helper])