如何在SSRS报告中使用department参数更改表达式?

问题描述 投票:0回答:1

这是表达式的代码。我希望它改变所选参数,这是公司的不同部门。现在它只是设置为显示“第一”,但我不知道使用什么其他语法。

=First(Fields!Description.Value, "Departments")

enter image description here

enter image description here

enter image description here

reporting-services ssrs-2012 reportbuilder
1个回答
0
投票

所以回到我原来的解决方案,我认为它将满足您的需求。看来你有一个单选参数。

您只需要将=Parameters!Department.Label输入到该字段的表达式中,我认为这样可以解决问题。

© www.soinside.com 2019 - 2024. All rights reserved.