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

How to pass only the selected values into the maindataset when the selected value is a combination of column values but you want to filter based on the first value

$
0
0

I have a report parameter named uservalue whose values can be listed as below

  1. 10-john -Manager
  2. 12-Ben- Officer 

The three values are appended in the sql from a single table which is ID-NAME-TITLE.

These 3 columns are present  in the table .

I give user to select the values and would like to filter the main dataset which is again the same table holding ID-NAME-TITLE columns.

Now I am facing challenge to pass the selected values to main dataset .

Table name is user and all the datatypes are string at the moment.

Basically at run time user gets 1 and 2 values and if he selects 1 of the below value by checking the check box .I want to parse only ID value to the dataset

  1. 10-john -Manager
  2. 12-Ben- Officer 

How to pass only the selected values into the maindataset when the selected value is a combination of column values but you want to filter based on the first value.

E.g if user selects then pass only the selected value which is id-10 in this case

  1. 10-john -Manager







Viewing all articles
Browse latest Browse all 10045

Trending Articles



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