简体   繁体   English

SSRS Tablix不返回完整结果集

[英]SSRS Tablix not returning full resultset

I have a tablix that is only returning the first row from a created dataset. 我有一个tablix,它只从创建的数据集中返回第一行。 I verified my stored procedure and dataset in asp and it's returning the expected results. 我在asp中验证了存储过程和数据集,并返回了预期的结果。 Also I read somewhere to check the count of rows using a textbox and the CountRows() function and it indeed shows the expected count. 我还在某处阅读以使用文本框和CountRows()函数检查行数,它的确显示了预期的数。 Is there any special setting in the tablix or somewhere that I'm missing? tablix或我缺少的地方是否有任何特殊设置? Also if I add grouping, it would return the first row from each group which are several rows apart. 同样,如果我添加分组,它将返回每个组的第一行,这些行相隔几行。 This is really frustrating. 这真令人沮丧。 Thanks in advance 提前致谢

If you deleted the row group it will do that. 如果删除行组,它将执行此操作。 Or, if your row group is based on a single row value, that would be another reason. 或者,如果您的行组基于单个行值,那将是另一个原因。 I had a limited result set coming back, and realized I was not grouping according to how I intended the report to behave and display. 我返回的结果集很有限,并且意识到我没有按照我希望报表的行为和显示方式进行分组。

One of the reason I found for this issue is when a Matrix type of report (RDL) is converted to Tabular type of report by removing all grouped columns. 我发现此问题的原因之一是通过删除所有分组的列将矩阵类型的报表(RDL)转换为表格形式的报表。 To a developer it seems fine, but some where there is catch which does not convert a Matrix type report to Tabular and hence the grouping still continues and report never shows all the rows as expected. 对于开发人员来说,这似乎很好,但是在某些地方存在捕获,并不能将Matrix类型的报告转换为Tabular,因此分组仍然继续,并且报告永远不会按预期显示所有行。 Only solution I found for this issue is creating a new RDL file of Tabular type and it all works fine. 我为此问题找到的唯一解决方案是创建一个新的Tabular类型的RDL文件,并且一切正常。

Check to see if there is a filter on the Tablix, or perhaps you are grouping such that it only produced a single row? 检查一下Tablix上是否有过滤器,或者您是否正在分组以便只产生一行? Please provide more information. 请提供更多信息。

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

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