简体   繁体   English

SSRS-合并具有不同行值的重复Texbox

[英]SSRS - Merge Repeating Texboxes w/ Distinct Row Values

Everything except for the name may or may not be different, but it doesn't matter. 除名称外,其他所有内容可能相同,也可能相同,但这无关紧要。 在此处输入图片说明

How do you make it so the name and address (first column) can only show once if the value on multiple rows is the same? 如果多行中的值相同,如何使名称和地址(第一列)仅显示一次? There is no way to merge the rows together due to the numbers of rows being generated from a group expression. 由于从组表达式生成的行数众多,因此无法将行合并在一起。 But if there is another way to merge then can someone tell me how to do it? 但是,如果还有另一种合并方式,那么有人可以告诉我该怎么做吗? If not, then is there at least a way to blank out the second and third repeating names (and address)? 如果不是,那么是否至少有一种方法可以消除第二个和第三个重复的名称(和地址)?

This is how you hide repeating values in a tablix column. 这样可以隐藏Tablix列中的重复值。

In design mode, click on the detail cell that you want to keep from repeating if the values are the same. 在设计方式下,如果值相同,则单击要避免重复的明细单元。 In this case, you are referring to that one as the name and address column. 在这种情况下,您将其称为“ 名称和地址”列。

Look for the HideDuplicates property in the Properties pane. 在“属性”窗格中查找HideDuplicates属性。 Set the value to the name of the dataset the tablix is using. 将值设置为tablix使用的数据集的名称。

Now, when you run the report, that value should only show once. 现在,当您运行报表时,该值应仅显示一次。 The other rows where the value had been repeating will be blank in that cell. 该值已重复的其他行在该单元格中将为空白。

Set the borders appropriately (none, or solid) to make it look like the cells are merged. 适当设置边框(无边框或无边框),使其看起来像合并了单元格。 Doing the above alone will not merge the cells. 单独执行上述操作不会合并单元格。 Only a row group will do that. 只有行组才能做到这一点。

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

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