简体   繁体   English

基于ssrs中参数选择的动态报告标题

[英]Dynamic Report title base on parameter selection in ssrs

Hi i have a report where i have 2 parameters and each parameter is populated by getting the value from their respective Data-set. 嗨,我有一个报告,其中我有2个参数,并且通过从各自的数据集中获取值来填充每个参数。 Now i want to create the title of the Report in a way that if the User Select just one account number then i want to display that Account Number in the title; 现在,我想以一种方式创建报告的标题,如果用户仅选择一个帐号,那么我想在标题中显示该帐号 But if User select more that ONE account Number from the drop down then i want to display the value Select in the Second parameter which CUSTOMER NUMBER . 但是,如果用户从下拉列表中选择一个以上的帐号,那么我想在“第二个参数”中显示“选择客户编号” Anyone can Help me please. 任何人都可以帮助我。

Hi i have solved the query so i am posting my answer if in future anyone has the same question; 嗨,我已经解决了这个问题,所以如果将来有人遇到同样的问题,我会发布我的答案; in the placeholder expression i have to put the following expression: IIF(PARAMETERS!ACCOUNT.COUNT = 1, PARAMETERS!ACCOUNT.VALUE(0), PARAMETERS!CUSTOMER.VALUE(0)) 在占位符表达式中,我必须放置以下表达式: IIF(PARAMETERS!ACCOUNT.COUNT = 1, PARAMETERS!ACCOUNT.VALUE(0), PARAMETERS!CUSTOMER.VALUE(0))

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

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