I have report in SQL Server 2008.
Report has a parameter, parameter values:
organization1
organization2
organization3
organization4
To display a list of parameter with values, I used "Available Values" "Get values from a query".
If value of organization1 parameter in "Value" column is greater than 20, then report body and background of tables should be in red color.
If selected parameter organization1 background of tables and report body should be in red color.
If selected parameter organization2 background of tables and report body should not be in red color.
If selected parameter organization3 background of tables and report body should be in red color.
If selected parameter organization4 background of tables and report body should not be in red color.
The expression below does not work for selected parameter.
=IIF(Fields!AVID.Value, "summ_work">20 and
First(Parameters!ReportParameter1.Value, "test")="Organization1","Red","Transparent")
How can I fix it?