Click here to Skip to main content
15,913,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 . :((
Posted
Updated 4-Mar-10 19:17pm
v2

Use:
=SUM(iif(CDbl(Fields!healthIndex.Value) > 0 ,CDbl(Fields!healthIndex.Value),0))
 
Share this answer
 
=SUM(iif(CDbl(Fields!healthIndex.Value) > 0 ,CDbl(Fields!healthIndex.Value),Cdbl(0)))
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900