本文介绍了RDLC报告中的条件和的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



有人可以提供一种方法,在rdlc中绑定到数据集的表的每一行上进行条件求和。这是我目前在表达式中使用的代码:



Hi all,

Could someone provide a method to make conditional sum on each row of a table in rdlc bound to a dataset. Here's the code I'm currently using in the expression:

=Fields!InitialAmount.Value + SUM(IIf(Fields!RowNumber.Value<=Fields!RowNumber.Value, Fields!TotalPrice.Value, 0), "ClientBalanceSheetDataSet") - SUM(IIf(Fields!RowNumber.Value<=Fields!RowNumber.Value, Fields!Amount.Value, 0), "ClientBalanceSheetDataSet")

推荐答案


这篇关于RDLC报告中的条件和的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 18:08