SSRS 报告的动态调整大小
我有一份包含 12 个 Tablixes 的报告。用户可以挑选并选择在生成报告时显示这些表及其关联数据中的哪一个。但是,当选择 12 个表的子集时,报告显示空白区域,我隐藏了未选择的表。有什么方法可以使报表调整大小/适合所选表格的大小...截断不可见表格所在的空白区域?
谢谢
I have a report with 12 Tablixes on it. The user can pick and choose which one of these Tables and their associated data shows when the Report is generated. However, when chosing a subset of the 12 tables, the report shows blank space where I hide the non-selected tables. Is there any way to make the report resize/fit the size of the selected tables...truncating the white space where the invisible tables are?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先欢迎来到SO。
我个人还没有找到一种方法来截断该空白。我发现的最好的解决方案就是围绕它设计我的报告。
此外,子报告或 Tablix of Tablix 可能会对此解决方案派上用场。
所以,是的,这些是我要探索的路线:
First off welcome to SO.
I personally have not been able to find a way to truncate that white space. The best solution I've found is to just design my reports around it.
Also, Sub-Reports, or a Tablix of Tablixes may come in handy for this solution.
So, yeah, those are the routes I would explore:
将表格放在矩形上,并可以根据您的要求隐藏矩形。在报告设置中,将“消耗空白”设置为 true。那应该适合你。
put your tables on rectangles, and optionally hide the rectangles based on your requirements. In the report settings, set consume white space to true. That should do it for you.