ssrs不显示重复行数据,只是列中的唯一值
我有一个报告,除了最后一列中的数据外,行数据可以具有相同的数据。只需将数据添加到表中即可:
第1列 | 第2列 | 第3 | 列4 |
---|---|---|---|
1 | ABC | 1111 | 234345 |
1 | DEF | 2222 | 435656 |
1 | DEF | 2222 | 423233 |
1 | XYZ | 1234 | 145423 |
我想显示这样的数据:
1列 | 2列2 | 列3 3 | 第4列 |
---|---|---|---|
1 | ABC | 1111 | 234345 |
1 | DEF | 2222 | 435656 |
423233 | |||
1 | XYZ | 1234 | 145423 |
我尝试在组内添加一排,并按4列进行分组,但是此
列1列 | 第2 | 列第3 | 列4 4 |
---|---|---|---|
1 | ABC | 1111 | |
23445 | |||
1 | DEF | 2222 | |
435656 | |||
423233 | |||
1 | XYZ | 1234 | |
145423 |
我希望与数据同一行上的第4列的第一个值,并且仅在下面的一个行上只有“附加”列4值。 我该怎么做?
I have a report where row data can have the same data, apart from the data in the last column. Just adding the data to a table results in this:
Column 1 | Column 2 | Column 3 | Column 4 |
---|---|---|---|
1 | abc | 1111 | 234345 |
1 | def | 2222 | 435656 |
1 | def | 2222 | 423233 |
1 | xyz | 1234 | 145423 |
I want to show the data like this:
Column 1 | Column 2 | Column 3 | Column 4 |
---|---|---|---|
1 | abc | 1111 | 234345 |
1 | def | 2222 | 435656 |
423233 | |||
1 | xyz | 1234 | 145423 |
I've tried adding a row inside the group and grouping by Column 4, but this results in:
Column 1 | Column 2 | Column 3 | Column 4 |
---|---|---|---|
1 | abc | 1111 | |
234345 | |||
1 | def | 2222 | |
435656 | |||
423233 | |||
1 | xyz | 1234 | |
145423 |
I want the first values of column 4 on the same row as the data, and only the "additional" Column 4 values on a row by themselves below.
How would I go about this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设这是一个表,而不是矩阵,那么您只需要通过前三列创建一个行组。您还需要确保您的第四列在详细信息中。
这将为您带来理想的结果。
Assuming this is a table and not a matrix then you need to create a rowgroup to group by the first three columns only. You also need to make sure that your fourth column is in the details rowgroup.
This will give you the desired results.