SSRS 2008 中的动态子报表
我想在 SSRS 中设置一个仪表板报告,其中包含一堆子报告,但显示的报告可以在运行时配置。
IE 中可以有 4 个参数,代表 4 个报告的名称。 该报告包含 4 个报告,每个子报告的名称应取自其中一个参数。
看起来我无法执行此操作,因为“将此报表用作子报表”属性是一个下拉列表,并且不提供将其配置为表达式的方法。
我对吗?
谢谢, 富有的
I would like to set up a dashboard report in SSRS that contains a bunch of sub reports, but have the reports that are displayed be configurable at run time.
I.E. there could be 4 parameters which represent the names of 4 reports. The report contains 4 reports, and the name of each sub report should be taken from one of the parameters.
It looks like I can't do this, as the 'Use this report as a subreport' property is a dropdown and doesn't provide a way of configuring it as an expression.
Am I right?
Thanks,
Rich
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为你的场景只是一次显示一个。 我需要做几乎同样的事情。 我有一个主报告,我希望在其中显示动态数量的不同子项。 我这样解决了:
然后我根据类型设置子详细信息的可见性。
/埃里克
I figure your scenario is just to display one at a time. I needed to do almost the same thing. I have a main report in which I wanted a dynamic number of different subs to be displayed. I solved it like this:
And then I set visibilty for SubDetails depending on type.
/Erik
通常,您必须在主报表中定义每个子报表,然后设置可见性。 或者使用钻取来模拟导航。
Normally you'd have to define each subreport in the main report and then set visibility. Or use drill through to emulate navigation.