[英]SSRS Report Parameter Pick Lists Are Disabled When Creating/Editing Subscriptions
I see a lot of similar questions posted, but none quite exactly like what I am experiencing.我看到发布了很多类似的问题,但没有一个与我正在经历的完全一样。
The parameter pick lists for the SSRS report work properly when running the report as you normally would, but certain ones do not work when trying to create or edit a subscription. SSRS 报告的参数选择列表在正常运行报告时正常工作,但在尝试创建或编辑订阅时某些选项列表不起作用。
I am unable to post the specific example, but will describe in detail.我无法发布具体示例,但会详细描述。
So the report is strange because it works fine in SSRS Report Builder, works fine running manually from SSRS website, but the subscriptions page disables the drop down and does not allow me to select the value when the "Source of value" is set to "Enter value".所以报告很奇怪,因为它在 SSRS Report Builder 中运行良好,从 SSRS 网站手动运行运行良好,但订阅页面禁用下拉菜单,并且不允许我在“价值来源”设置为“输入值”。 The affected pick lists are technically the two cascading pick lists and the top level one they utilize (which does not rely on any parameters).受影响的选择列表在技术上是两个级联选择列表和它们使用的顶级选择列表(不依赖任何参数)。
Additional Details额外细节
So basically I know the queries are returning the choices, the pick lists are updated if I change them, but the pick list in the UI is just disabled from selecting anything.所以基本上我知道查询正在返回选择,如果我更改它们,选择列表会更新,但是 UI 中的选择列表只是无法选择任何内容。
This isn't a complete answer, but the issue was definitely related to the cascading parameters.这不是一个完整的答案,但问题肯定与级联参数有关。 I removed the dependency inside Region and Location that used preceding parameters and now all the pick lists works again (even Country which was depended on, but did not have any dependencies itself).我删除了 Region 和 Location 中使用前面参数的依赖项,现在所有选择列表都可以再次工作(即使是 Country 依赖,但本身没有任何依赖项)。
Seems like a bug, but not sure.似乎是一个错误,但不确定。
So my report works fine, but you can technically enter parameters that are mutually exclusive and will return no results.所以我的报告工作正常,但从技术上讲,您可以输入互斥的参数并且不会返回任何结果。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.