SSRS级联参数中始终选择全部
我有 2 个参数列表。 1 是所有者,1 是依赖于所有者的单位。这些是多选参数。
默认情况下,两者都会选择“全选”,因此当您输入报告时,“所有者”和“单位”都会选择“全选”。
现在,当我取消选中全选并选中 3 个所有者时,它会再次选择检查单元列表中的所有单元。现在,当我选择第四个所有者时,它似乎选择了单元列表中的所有单元,但实际上并没有选择从新选择的所有者添加的新单元。怎么回事?
谢谢
I have 2 parameter lists. 1 is Owner and 1 is unit which is dependent on owner. These are multiselect parameters.
By default select all is chosen for both so right when you enter the report select all is selected for both Owner and Units.
Now when I uncheck select all and check 3 owners it again selects checks all units in the unit list. Now when I select a 4th owner it appears to select all in the unit list but it actually does not select the new unit that was added from the newly selected owner. Whats the deal?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发生的事情如下:
1. 当您第一次访问报告时,级联参数会填充所有选中的内容
2.您取消选中一堆所有者,它会级联并删除与未选中的所有者相对应的单位(请注意,默认选择没有更改,只是可用单位列表)
3.您检查owner4,它会级联并将相应的单位列表添加到下拉列表中。但是,已经进行了默认选择,因此现在未选中这些项目。
基本上,您只有一次机会选择默认值,不能多次选择。一旦填充了默认值,所有进一步的选择都由用户驱动。
What is happening is as follows:
1. When you first come to the report, the cascading parameters are populated with everything checked
2. You uncheck a bunch of owners, it cascades through and deletes the units corresponding the unchecked owners ( note the default selection hasn't changes, just the list of available units)
3. You check owner4, it cascades through and adds the corresponding list of units to the drop down. However, the default selection has already been made, so these items are now not checked.
Basically, you only have one chance to select the defaults, you cannot do it multiple times. Once the defaults are populated, all further selections are user driven.