简体   繁体   English

如何在SSRS Tablix中使用两个布尔参数?

[英]How to use two boolean parameter in ssrs tablix?

I have several records in database and those records have two field named finance stage(value =collected) and project stage(value=completed) 我在数据库中有几条记录,这些记录有两个字段,分别为财务阶段(值=已收集)和项目阶段(值=已完成)

Most of the records have both field filled with collected and completed. 大多数记录都有填写和完成的字段。 Therefore i want to create two boolean parameters which shows/filter only the records having finance value is collected and have project stage is completed when both parameter is true. 因此,我想创建两个布尔参数,它们仅显示/过滤具有财务价值的记录,并且当两个参数都为true时,项目阶段已完成。 i have used x++ and wants to filter tablix for that parameter on report. 我已经使用过x ++,并想在报告中过滤该参数的tablix。

Any other suggestion will be higly appreciated 任何其他建议将不胜感激

Thank you for reading and regards 感谢您的阅读和问候

If you are using SSRS, you could use the visibility property of the row, and hide/show it according to the right field. 如果使用的是SSRS,则可以使用该行的可见性属性,并根据右侧字段隐藏/显示它。 Example: Visibility (hidden) property of the row 示例:行的可见性(隐藏)属性

=IIf(Fields!Finance.Value)="Collected", FALSE,TRUE)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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