简体   繁体   English

删除SSRS中的Tablix静态列行组

[英]Remove Tablix Static Columns Row Groups in SSRS

I have a report in SSRS that uses a matrix with static columns. 我在SSRS中有一个使用静态列矩阵的报告。 Here are the static columns: 这是静态列:

在此处输入图片说明

After generating the report, the rows with same values end up being grouped together: 生成报告后,具有相同值的行最终被分组在一起:

在此处输入图片说明

Is there any way to get rid of these groups? 有什么办法摆脱这些群体? I'd rather the values be repeated for each row, so it looks more like an excel sheet. 我希望每行都重复这些值,所以它看起来更像是一张Excel工作表。

Here is a better picture of my report design plus the row and column groups. 这是我的报表设计以及行和列组的更好描述。 These groups were created when I added them to the matrix and are not needed as far as what I can tell for my report: 这些组是在将它们添加到矩阵中时创建的,据我所知,不需要这些组:

在此处输入图片说明

As you are not doing any calcuations on hte row gorups, there is no need for them. 由于您不对行胶合剂进行任何计算,因此不需要它们。

Delete all but one of the row groups by right-clicking the rowgroup in the Row Groups pane at the bottom of the screen and choosing Delete Group . 右键单击屏幕底部“行组”窗格中的行组,然后选择“ Delete Group ,以删除行组之一以外所有Delete Group If prompted, choose Delete Group Only , otherwise it will delete the associated columns too. 如果出现提示,请选择Delete Group Only ,否则也会删除关联的列。

When you noly have one group left, right-click it and choose Group Properties and delete the group expression, this will change it to be a details style group. 当您只剩下一个组时,请右键单击它,然后选择“ Group Properties并删除该组表达式,这会将其更改为详细信息样式组。

Make sure the Hide Duplicate expression is back to default (blank or None) in case you changed it earlier. 确保“ Hide Duplicate表达式已恢复为默认值(空白或无),以防您早先对其进行更改。

That should work. 那应该工作。 I replicated a similar scenario to your and the above step did the trick. 我向您复制了一个类似的场景,以上步骤可以解决问题。

You will probably also need to go back to your group properties and set the sorting options to ensure data is sorted correctly. 可能还需要返回到组属性并设置排序选项,以确保数据正确排序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM