修复了RDLC报告中的Tablix c# [英] Fixed Tablix in RDLC report c#

查看:85
本文介绍了修复了RDLC报告中的Tablix c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在RDLC报告中显示一些摘要详细信息,我还需要以表格的形式。我尝试使用DataSet垂直tablix和bond值,但现在我的问题是摘要细节垂直显示两次。



例如。我需要



Sum1 val1



Sum2 val2



Sum3 val3



总val1 + val2 + val3



但是现在显示像



Sum1 val1



Sum2 val2



Sum3 val3



总val1 + val2 + val3



Sum1 val1



Sum2 val2



Sum3 val3



总val1 + val2 + val3

I need to display some summary details in the RDLC report and also i need that in the form of table. I tried vertical tablix and bond values with DataSet but right now my problem is the summary details are showing vertically twice.

Eg. I need

Sum1 val1

Sum2 val2

Sum3 val3

Total val1+val2+val3

But right now its displaying like

Sum1 val1

Sum2 val2

Sum3 val3

Total val1+val2+val3

Sum1 val1

Sum2 val2

Sum3 val3

Total val1+val2+val3

推荐答案

您好,



对于您想要总计的组,请右键单击您的Tablix列并选择Insert New row - >在下面的组内。这将在组中添加一个新行。

然后将sum(column_name)的表达式添加到相应的列。

你试过这个吗?
Hi,

For the group on which you want the total, right click on your tablix column and select Insert New row -> inside group below. This will add a new row within the group.
Then add a expression of sum(column_name) to the respective column.
Have you tried this ?


我发现问题是我从数据集中获取了可能返回多行的数据集的摘要详细信息,这也是在同一个报告中使用的。而不是那个写了一个存储过程来单独获取摘要详细信息作为单行。为摘要详细信息添加了一个数据集并使用该数据集绑定了摘要详细信息Tablix
I figured out the problem i was taking the summary details from a Dataset that might return more than one row which is also using in the same report.Instead of that Wrote one more stored procedure for getting the Summary details alone as single row.Added One More DataSet for the Summary Details and Bound the Summary Details Tablix using that dataset


这篇关于修复了RDLC报告中的Tablix c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆