如何计算RDLC中的文件总和? [英] How can i calculate sum of file in RDLC ?
本文介绍了如何计算RDLC中的文件总和?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在RDLC中没有得到详细行的文件总和。
在详细行中,我在详细文件中写表达式是
(= iif(Fields!OpeningBalance.Value> 0,Fields!OpeningBalance。价值,))
我想计算这个字段的总和。
现在我得到#Error。请建议我 。感谢你 。 :((
解决方案
使用:
= SUM(ipt(CDbl(Fields!healthIndex.Value)> ; 0,CDbl(Fields!healthIndex.Value),0))
= SUM(iif(CDbl(Fields!healthIndex.Value)> 0, CDbl(字段!healthIndex.Value),Cdbl(0)))
I dont get sum of file in detail rows in RDLC.
In detail row, I write expression in detail file is
(=iif(Fields!OpeningBalance.Value >0 ,Fields!OpeningBalance.Value,""))
I want to calculate sum of this field.
Now I get #Error . Please advise me . Thank U . :((
解决方案
Use:
=SUM(iif(CDbl(Fields!healthIndex.Value) > 0 ,CDbl(Fields!healthIndex.Value),0))
=SUM(iif(CDbl(Fields!healthIndex.Value) > 0 ,CDbl(Fields!healthIndex.Value),Cdbl(0)))
这篇关于如何计算RDLC中的文件总和?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文