简体   繁体   English

在SQL Server Reporting Services中的Tablix上显示固定的行数

[英]Display fixed number of rows on a tablix in SQL Server Reporting Services

I have a report made in SQL Server Report Builder and I would like to show a fixed number of row per table, not per page. 我有一个在SQL Server报表生成器中生成的报表,我想显示每个表而不是每个页面的固定行数。 I found out this expression =CEILING(RowNumber(Nothing)/25) and probe it on the row group, bit did not work. 我发现此表达式= CEILING(RowNumber(Nothing)/ 25)并在行组上对其进行了探测,但位不起作用。

图片

In the image above, I want to fixed the number of rows where the <> is going to be populated with database data. 在上图中,我想确定要用数据库数据填充<>的行数。

How can make this? 如何做到这一点?

In the Group properties add this as a Group on expression: =CInt(Ceiling(RowNumber(nothing)/25)). 在组属性中,将其添加为表达式上的组:= CInt(Ceiling(RowNumber(nothing)/ 25))。 Let me know if this works for you :) 让我知道这是否适合您:)

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

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