Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Multi Valued report casues report to error

$
0
0

Hi I have a SSRS report with a SSAS data source.

The report has 2 parameters to control visability

the first parameter called Matter_claimant is applied to the tablix the code is

=IIF((Parameters!Matter_Claimant.Value = 1 OR Parameters!Matter_Claimant.Value = 3),False,True)

The second is applied to the column visability and is a multi value parameter

=IIF((Parameters!KPIName.Value(0) = 1 OR Parameters!KPIName.Value(0) = 0),False,true)

when I run this the report errors stating that operator is not defined for type object and type integer ssrs

I tried all the ususal conversion tricks in the parameters but it still didn't work.

When I changed the the 2nd parameter to not allow multi values and the expression to

=IIF((Parameters!KPIName.Value = 1 OR Parameters!KPIName.Value = 0),False,true)

it worked

but I would the user to be able to select multiple values for the 2nd parameter.

regards


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>