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

SSRS Multi parameter with boolean

$
0
0

Multi parameters with boolean value

I have parameter 'Position' with values : Driver
                                                                 Administration                                                                 Employee

MyTable

ID  Driver    Administration Employee

1        true       false                       false

2         false      false                     true

3        true         false                    false

4        false         true                    false


these are three columns with boolean values
How can I create a query to be able to pass the parameter Position 

and if the position is driver the result should be - table with  two records id: 1 and 3

            if administration or employee - table with one record

        select * from MyTable where Driver = 'True'





Viewing all articles
Browse latest Browse all 10045

Trending Articles



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