SSRS 按 Excel 选项卡对矩形进行分组

发布于 2025-01-14 20:03:24 字数 1025 浏览 2 评论 0原文

我可能有一个有趣的难题,希望得到您的指导。

正如您在我的报告图像中看到的,我正在创建一个具有多个选项卡的报告(参见 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 时,我们可以:

  1. 将一个矩形分配给它自己的 Excel 选项卡
  2. 命名相应的 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:

  1. Assign a rectangle to its own excel tab
  2. Name the respective excel tab

I would sincerely appreciate your help with this.

Report Design

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文