I have a query that has classify codes: if 'PC' it returns 'Compatible, if Null then it returns Unclassified, if everything else returns 'Not-Compatible'. The alias column is "Classification".
> SELECT CASE WHEN class.code IS NULL THEN 'Unclassified'
> WHEN class.Code = 'PC' THEN 'Compatible' ELSE 'Not-Compatible'
> END Classification, FROM classification class
Now I want to set this Classification as a parameter in my SSRS report.
WHERE class.Code LIKE @Classification
Then in my @Classification parameter
So, in my report, user is prompted choose a classification, how do I get user to choose "Everything Else" that returns "Unclassified"? I can't use the alias column name "Classification" to get value. If there a way to set multiple values into the label "Unclassified"?