简体   繁体   中英

Filter rows in SSRS based on parameter and Field

I am new to using the filters in SSRS. But I would like to filter Accessories (Yes, No). This is a parameter with a yes and no Value which would display/ filter rows based on the field Field!class.Value= "I" or "A" accordingly.
So If the drop down is yes it should only display rows with class "I" otherwise All "I" and "A" How would I do this in the Taxlib filters property. It is not working for me, the way I need it to.

Help would be immensely appreciated as usual! :)

Modified as per OP corrected logic ..

Create your parameter Label Yes with value ="I" and No with value ="*"

在此处输入图片说明

In your table properties, filter section, click add button.

Below I am filtering type field against the parameter. You need to select the class field from the drop down list.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM