问题描述
是否可以在 Reporting Services 2008 中旋转表格?如果是这样,如何?我想将其旋转 90 度.
Is it possible to pivote a table in reporting services 2008? If so, how?I'd like to pivote it 90 degrees.
谢谢
推荐答案
在 SSRS 2008 中,行和列之间没有太大区别.* 表是Tablix"的一个实例,它在行.您可以根据分组和详细信息组的设置位置让表格重复行或列.
In SSRS 2008, there isn't much difference between rows and columns.* A Table is an instance of a "Tablix" which has the detail group on the rows. You can have your table either repeat rows or columns based on the groupings and where the details group is set.
您可以通过以下方式创建水平扩展表:
You can create a horizontally expanding table by:
- 首先通过将矩阵报表项拖到设计图面上来创建 Tablix.默认情况下,Tablix 将有一个 RowGroup 和一个 ColumnGroup.
- 通过右键单击行组并选择删除组"来删除行组.在删除组"提示中,仅删除该组(不相关的行和列;您可能希望将它们作为行的左标签.)
- 将详细信息组添加为列组的子组.为此,请右键单击列组并添加组-> 子组..."选择显示详细信息数据.
生成的 tablix 应如下所示:
The resulting tablix should look something like this:
您现在可以添加列、行、组等.
You can now add columns, rows, groups, etc.
*想到的一个小区别是您可以水平合并单元格,但不能垂直合并.
*One minor difference that comes to mind is that you can merge cells horizontally, but not vertically.
这篇关于在报告服务中旋转表格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!