Filter rows in SSRS based on parameter and Field

懵懂的女人 提交于 2019-12-12 02:05:08

问题


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! :)


回答1:


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.



来源:https://stackoverflow.com/questions/26167922/filter-rows-in-ssrs-based-on-parameter-and-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!