SSRS 按 Excel 选项卡对矩形进行分组
我可能有一个有趣的难题,希望得到您的指导。
正如您在我的报告图像中看到的,我正在创建一个具有多个选项卡的报告(参见 1)。由 1 表示的区域中的每个选项卡都链接到由 2 和 3 表示的分组矩形。
每个矩形可能有 1 到 5 个数据集,当我们单击顶部相应的按钮时,它会根据矩形定义导航到相关页面,本质上我这样做了:
对于矩形, 可见性表达式: iff(parameter!.Tab=X, False, True) **将 X 替换为上面的 Tab 名称) 对于按钮,我将选项卡值分配为相应的数字。
在网页上的标准视图中查看报告时,一切都按预期进行。当我将同一份报告导出到 Excel 时,我会得到一个选项卡,其中所有数据都在一页中。
所以我尝试遵循此处描述的设计说明: 如何在从 SSRS 导出时获取命名的 Excel 工作表
和这里: https://www.youtube.com/watch?v=MAKslN6Ezuo&ab_channel= MandarGogate
但我没有得到相同的结果。我同时得到一页包含所有结果的信息。
我请求的帮助如下:
将报告导出到 Excel 时,我们可以:
- 将一个矩形分配给它自己的 Excel 选项卡
- 命名相应的 Excel 选项卡
我衷心感谢您的帮助。
I may have an interesting conundrum and would appreciate your guidance.
So as you can see in my report image, I am creating a report that has multiple tabs (See 1). Each tab in area denoted by 1, is linked to a grouping rectangle denoted by 2 and 3.
Each rectangle may have 1 to 5 datasets and when we click the corresponding button up top, it navigates to the respect page by the rectangle definition, essentially I did this:
For Rectange,
Visibility expression: iff(parameter!.Tab=X, False, True) **Replace X with the Tab name up there)
For button, I assigned the tab value as the corresponding number.
When viewing the report in the standard view on a webpage, everything works as expected. By when I export the same report to excel, I get one tab, with all the data in one page.
So I attempted to follow the design instructions as described here:
How to get named excel sheets while exporting from SSRS
and here:
https://www.youtube.com/watch?v=MAKslN6Ezuo&ab_channel=MandarGogate
but I don't get the same results. I get one page with all the results at the same time.
What I asking for help with is the following:
When exporting the report to excel, can we:
- Assign a rectangle to its own excel tab
- Name the respective excel tab
I would sincerely appreciate your help with this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论