2008 SSRS 什么样的报告类型以及如何正确分组数据?

2008 SSRS What kind of report type and how to properly group data?

我来自 Crystal 报告并试图复制 SSRS 2008 中看似相当简单的报告,但我无法确定我需要哪种类型的基本报告样式以及如何实现我的数据的正确嵌套分组。

我在 YouTube 上看了一堆教程视频,搜索了 google,并根据我在网上找到的内容对 SSRS 进行了实验,但我一直无法达到预期的效果.

I have a list of songs associated with each Album Id
The songs can either be Type 1 (Track A) or Type 2 (Track B)
The report results are first grouped by the Album Id (Group Header #1) and then grouped by Song Type (Group Header #2)
There is a new page or page break after unique album id (Group Footer #1) 
I have attached the design example in Crystal Reports and also the Sample PDF created when printing the report.

我希望有人能帮助我指明正确的方向。谢谢!

在 SQL Server 2008 R2 中,SSRS 中的选项发生了很大变化。因此,正如评论中指出的那样,在 2008 R2 或 SQL server/BIDS 的更新版本中设计报告以达到此目的。

如果创建此报告,我会从最近版本的 BIDS 中的空白报告开始,添加数据源,然后添加数据集,然后将 table 拖到设计图面上。我会将艺术家名称拖到设计 window 的 "Row Groups" sub-pane 以创建基于艺术家的分组。然后,我将在数据集中创建一个计算字段,该字段是专辑名称和侧面的串联。所以我可以将该字段拖到艺术家组下面的 "Row Groups" 中。右键单击这些组将允许您添加行和 headers 组以插入您正在使用的动态和静态数据。

您可以选择组属性并指示应在艺术家组的每个实例之间插入分页符。