SSRS删除重复的行条目

问题描述 投票:0回答:2

我需要查看所有笔记,但不要重复姓名和帐号。请参阅下面的示例。我正在使用SSRS报告构建器2008。

这是它目前的样子:

Name|Account|Note
John|123456 |note1
John|123456 |note2
John|123456 |note3
John|654321 |note1
John|654321 |note2
John|654321 |note3

我希望它看起来像这样:

Name|Account|Note
John|123456 |note1
    |       |note2
    |       |note3
John|654321 |note1
    |       |note2
    |       |note3
sql reporting-services ssrs-2008 repeat
2个回答
1
投票

在这里,您可以尝试在Tablix上添加Row组。

您需要在Name上添加第一个Row组,在Account上添加第二个行组,这样看起来就像

Name|Account|Note
John|123456 |note1
    |       |note2
    |       |note3
John|654321 |note1
    |       |note2
    |       |note3

搜索行组,您将获得结果。

检查下面的图像

enter image description here


0
投票

如果为列A和列B设置hide duplicates属性为true,则它不应重复。

© www.soinside.com 2019 - 2024. All rights reserved.